Skip to main content

UInt64

export interface UInt64 {
  add(other: UInt64): UInt64
  and(other: UInt64): UInt64
  eq(other: UInt64): boolean
  high: number
  low: number
  not(): UInt64
  rotr(n: number): UInt64
  shiftr(n: number): UInt64
  toBytes(littleEndian: boolean): number[]
  xor(other: UInt64): UInt64
}

Properties

add

uInt64.add satisfies (other: UInt64) => UInt64

and

uInt64.and satisfies (other: UInt64) => UInt64

eq

uInt64.eq satisfies (other: UInt64) => boolean

high

uInt64.high satisfies number

low

uInt64.low satisfies number

not

uInt64.not satisfies () => UInt64

rotr

uInt64.rotr satisfies (n: number) => UInt64

shiftr

uInt64.shiftr satisfies (n: number) => UInt64

toBytes

uInt64.toBytes satisfies (littleEndian: boolean) => number[]

xor

uInt64.xor satisfies (other: UInt64) => UInt64