Reference Source
public class | source

Datainputstream

This class keeps track of the position of reading, supplies get methods for most types and provides alignment methods. All data is assumed to be in LITTLE_ENDIAN!

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public
public
public

Method Summary

Public Methods
public

align4()

public

align8()

public

readByte(): *

public

readByteArray(length: *): *

public

readBytes(size: *): *

public

readDoubleArray(length: *): *

public

readDoubleArrayCopy(length: *): *

public

readFloat(): *

public

readFloatArray(length: *): *

public

readFloatArray2(length: *): *

public

readInt(): *

public

readIntArray(length: *): *

public

readIntArray2(length: *): *

public

readLong(): *

public

readShortArray(length: *): *

public

readUTF8(): *

public
public

readUnsignedByteArray(length: *): *

public

readUuid(): *

public

remaining(): *

Public Constructors

public constructor() source

Public Members

public arrayBuffer: * source

public dataView: * source

public pos: number source

Public Methods

public align4() source

public align8() source

public readByte(): * source

Return:

*

public readByteArray(length: *): * source

Params:

NameTypeAttributeDescription
length *

Return:

*

public readBytes(size: *): * source

Params:

NameTypeAttributeDescription
size *

Return:

*

public readDoubleArray(length: *): * source

Params:

NameTypeAttributeDescription
length *

Return:

*

public readDoubleArrayCopy(length: *): * source

Params:

NameTypeAttributeDescription
length *

Return:

*

public readFloat(): * source

Return:

*

public readFloatArray(length: *): * source

Params:

NameTypeAttributeDescription
length *

Return:

*

public readFloatArray2(length: *): * source

Params:

NameTypeAttributeDescription
length *

Return:

*

public readInt(): * source

Return:

*

public readIntArray(length: *): * source

Params:

NameTypeAttributeDescription
length *

Return:

*

public readIntArray2(length: *): * source

Params:

NameTypeAttributeDescription
length *

Return:

*

public readLong(): * source

Return:

*

public readShortArray(length: *): * source

Params:

NameTypeAttributeDescription
length *

Return:

*

public readUTF8(): * source

Return:

*

public readUnsignedByte(): * source

Return:

*

public readUnsignedByteArray(length: *): * source

Params:

NameTypeAttributeDescription
length *

Return:

*

public readUuid(): * source

Return:

*

public remaining(): * source

Return:

*