Methods
clear
Returns void
isBigEndian
Returns boolean
position
- position(newPosition?: number): number
Parameters
Optional newPosition: number
Returns number
toBuffer
Returns Buffer
write
- write(byte: number | Buffer): void
Parameters
Returns void
writeBoolean
- writeBoolean(val: boolean): void
Parameters
Returns void
writeBooleanArray
- writeBooleanArray(val: boolean[]): void
Parameters
Returns void
writeByte
- writeByte(byte: number): void
Parameters
Returns void
writeByteArray
- writeByteArray(bytes: Buffer): void
Parameters
Returns void
writeChar
- writeChar(char: string): void
Parameters
Returns void
writeCharArray
- writeCharArray(chars: string[]): void
Parameters
Returns void
writeChars
- writeChars(chars: string): void
Parameters
Returns void
writeDouble
- writeDouble(double: number): void
Parameters
Returns void
writeDoubleArray
- writeDoubleArray(doubles: number[]): void
Parameters
Returns void
writeFloat
- writeFloat(float: number): void
Parameters
Returns void
writeFloatArray
- writeFloatArray(floats: number[]): void
Parameters
Returns void
writeInt
- writeInt(int: number): void
Parameters
Returns void
writeIntArray
- writeIntArray(ints: number[]): void
Parameters
Returns void
writeIntBE
- writeIntBE(int: number): void
Parameters
Returns void
writeLong
- writeLong(long: Long): void
Parameters
Returns void
writeLongArray
- writeLongArray(longs: Long[]): void
Parameters
Returns void
writeObject
- writeObject(object: any): void
Parameters
Returns void
writeShort
- writeShort(short: number): void
Parameters
Returns void
writeShortArray
- writeShortArray(shorts: number[]): void
Parameters
Returns void
writeString
- writeString(val: string): void
Parameters
Returns void
writeStringArray
- writeStringArray(val: string[]): void
Parameters
Returns void
writeUTF
- writeUTF(val: string): void
Parameters
Returns void
writeUTFArray
- writeUTFArray(val: string[]): void
Parameters
Returns void
writeZeroBytes
- writeZeroBytes(count: number): void
Parameters
Returns void
Output write helper for IdentifiedDataSerializable objects.