ZipShort

constructor(bytes: Array<Byte>)

Create instance from bytes.

Parameters

bytes

the bytes to store as a ZipShort


constructor(bytes: Array<Byte>, offset: Int)

Create instance from the two bytes starting at offset.

Parameters

bytes

the bytes to store as a ZipShort

offset

the offset to start


constructor(value: Int)

Create instance from a number.

Parameters

value

the int to store as a ZipShort