Public Member Functions | |
| boolean | decodeBoolean (byte[] in) |
| byte | decodeByte (byte[] in) |
| int | decodeInt (byte[] in) |
| long | decodeLong (byte[] b) |
| byte[] | encodeBoolean (boolean b) |
| byte[] | encodeByte (byte in) |
| byte[] | encodeInt (int in) |
| byte[] | encodeLong (long l) |
| byte[] | encodeNum (long l, int maxBytes) |
| TranscoderUtils (boolean pack) | |
Private Attributes | |
| final boolean | packZeros |
| TranscoderUtils | ( | boolean | pack | ) |
Get an instance of TranscoderUtils.
| pack | if true, remove all zero bytes from the MSB of the packed num |
| boolean decodeBoolean | ( | byte[] | in | ) |
| byte decodeByte | ( | byte[] | in | ) |
| int decodeInt | ( | byte[] | in | ) |
| long decodeLong | ( | byte[] | b | ) |
| byte [] encodeBoolean | ( | boolean | b | ) |
| byte [] encodeByte | ( | byte | in | ) |
| byte [] encodeInt | ( | int | in | ) |
| byte [] encodeLong | ( | long | l | ) |
| byte [] encodeNum | ( | long | l, | |
| int | maxBytes | |||
| ) |
final boolean packZeros [private] |
1.5.8