Constructors
constructor
- new DataInput(buf: ArrayBufferLike | ArrayBufferView): DataInput
-
Parameters
-
buf: ArrayBufferLike | ArrayBufferView
Properties
Private data
data: Uint8Array
Private pos
pos: number = 0
Private view
view: DataView
Methods
readFully
- readFully(buf: ArrayBufferLike | ArrayBufferView): void
-
Parameters
-
buf: ArrayBufferLike | ArrayBufferView
Returns void
readLong
-
Returns bigint
readShort
-
Returns number
readUTF
-
Returns string
readUnsignedByte
- readUnsignedByte(): number
-
Returns number
readUnsignedShort
- readUnsignedShort(): number
-
Returns number
skipBytes
- skipBytes(n: number): number
-
Parameters
Returns number