Constructors
constructor
- new DataInputStream(arrayBuffer): DataInputStream
Parameters
- arrayBuffer: ArrayBufferLike
Properties
Methods
align4
- align4(): void
Returns void
align8
- align8(): void
Returns void
readAscii
- readAscii(): string
Returns string
readAsciiSize
- readAsciiSize(length): string
Returns string
readByte
- readByte(): number
Returns number
readBytes
- readBytes(size): ArrayBufferLike
Returns ArrayBufferLike
readDouble
- readDouble(): number
Returns number
readDoubleArray
- readDoubleArray(length): Float64Array
Returns Float64Array
readDoubleArrayCopyAsFloatArray
- readDoubleArrayCopyAsFloatArray(length): Float32Array
Returns Float32Array
readFloat
- readFloat(): number
Returns number
readFloatArray
- readFloatArray(length?): void | Float32Array
Returns void | Float32Array
readFloatArray2
- readFloatArray2(length): number[]
Returns number[]
readFloatArrayAsCopy
- readFloatArrayAsCopy(length): Float32Array
Returns Float32Array
readInt
- readInt(): number
Returns number
readIntArray
- readIntArray(length?): Int32Array
Returns Int32Array
readIntArray2
- readIntArray2(length): number[]
Returns number[]
readIntArrayAsCopy
- readIntArrayAsCopy(length): Int32Array
Returns Int32Array
readLong
- readLong(): number
Returns number
readShortArray
- readShortArray(length): void | Int16Array
Returns void | Int16Array
readString
- readString(): string
Returns string
readStringAt
- readStringAt(offset, length): string
Parameters
- offset: number
- length: number
Returns string
readUTF8
- readUTF8(): string
Returns string
readUTF8_16
- readUTF8_16(): string
Returns string
readUnsignedByteArrayAsCopy
- readUnsignedByteArrayAsCopy(length): Uint8Array
Returns Uint8Array
readUnsignedInt
- readUnsignedInt(): number
Returns number
readUnsignedShortArray
- readUnsignedShortArray(length): void | Uint16Array
Returns void | Uint16Array