net.ty.coerce

Our beloved JVM does not implement unsigned types. Some protocols rely heavily on unsigned types, and we thus need to have ways of parsing those

byte->ubyte

(byte->ubyte i)

int->uint

(int->uint i)

long->ulong

(long->ulong i)

short->ushort

(short->ushort i)

ubyte->byte

(ubyte->byte i)

uint->int

(uint->int i)

uint16-max

short maximum value

uint32-max

integer maximum value

ulong->long

(ulong->long i)

ushort->short

(ushort->short i)