DataInputStream
Class in @sascom/jsclient.
API catalogue · @sascom/jsclient · Class
TypeScript#
class DataInputStreamMembers#
| Member | Kind | Description |
|---|---|---|
| constructor | Method | |
| pos | Property | |
| align4 | Method | |
| align8 | Method | |
| readAscii | Method | |
| readAsciiSize | Method | |
| readByte | Method | |
| readBytes | Method | |
| readDoubleArray | Method | |
| readFloat | Method | |
| readFloatArray | Method | |
| readFloatArray2 | Method | |
| readInt | Method | |
| readIntArray | Method | |
| readIntArray2 | Method | |
| readLong | Method | |
| readShortArray | Method | |
| readString | Method | |
| readUTF8 | Method | |
| readUTF8_16 | Method |
constructor#
TypeScript#
constructor(arrayBuffer: ArrayBuffer)Parameters#
| Name | Type | Description |
|---|---|---|
arrayBuffer |
ArrayBuffer |
pos#
TypeScript#
public readonly pos: numberalign4#
TypeScript#
public align4(): voidalign8#
TypeScript#
public align8(): voidreadAscii#
TypeScript#
public readAscii(): stringreadAsciiSize#
TypeScript#
public readAsciiSize(length: number): stringParameters#
| Name | Type | Description |
|---|---|---|
length |
number |
readByte#
TypeScript#
public readByte(): numberreadBytes#
TypeScript#
public readBytes(size: number): ArrayBufferParameters#
| Name | Type | Description |
|---|---|---|
size |
number |
readDoubleArray#
TypeScript#
public readDoubleArray(length: number): Float64ArrayParameters#
| Name | Type | Description |
|---|---|---|
length |
number |
readFloat#
TypeScript#
public readFloat(): numberreadFloatArray#
TypeScript#
public readFloatArray(length?: number): void | Float32Array<ArrayBuffer>Parameters#
| Name | Type | Description |
|---|---|---|
length |
number |
readFloatArray2#
TypeScript#
public readFloatArray2(length: number): (number)[]Parameters#
| Name | Type | Description |
|---|---|---|
length |
number |
readInt#
TypeScript#
public readInt(): numberreadIntArray#
TypeScript#
public readIntArray(length?: number): Int32ArrayParameters#
| Name | Type | Description |
|---|---|---|
length |
number |
readIntArray2#
TypeScript#
public readIntArray2(length: number): (number)[]Parameters#
| Name | Type | Description |
|---|---|---|
length |
number |
readLong#
TypeScript#
public readLong(): numberreadShortArray#
TypeScript#
public readShortArray(length: number): void | Int16Array<ArrayBuffer>Parameters#
| Name | Type | Description |
|---|---|---|
length |
number |
readString#
TypeScript#
public readString(): stringreadUTF8#
TypeScript#
public readUTF8(): stringreadUTF8_16#
TypeScript#
public readUTF8_16(): string