Constructor and Description |
---|
HexEncoder() |
Modifier and Type | Method and Description |
---|---|
boolean |
decodeBoolean(byte[] val) |
byte |
decodeByte(byte[] a) |
double |
decodeDouble(byte[] a) |
float |
decodeFloat(byte[] a) |
int |
decodeInt(byte[] a) |
long |
decodeLong(byte[] a) |
short |
decodeShort(byte[] a) |
byte[] |
encodeBoolean(boolean b) |
byte[] |
encodeBoolean(boolean b,
byte[] ret) |
byte[] |
encodeByte(byte b) |
byte[] |
encodeByte(byte b,
byte[] ret) |
byte[] |
encodeDouble(double d) |
byte[] |
encodeDouble(double d,
byte[] ret) |
byte[] |
encodeFloat(float d) |
byte[] |
encodeFloat(float d,
byte[] ret) |
byte[] |
encodeInt(int i) |
byte[] |
encodeInt(int i,
byte[] ret) |
byte[] |
encodeLong(long l) |
byte[] |
encodeLong(long l,
byte[] ret) |
byte[] |
encodeShort(short s) |
byte[] |
encodeShort(short s,
byte[] ret) |
byte[] |
followingKey(int size,
byte[] per) |
byte[] |
lastPossibleKey(int size,
byte[] er) |
public byte[] encodeByte(byte b, byte[] ret)
encodeByte
in interface Encoder
public byte[] encodeByte(byte b)
encodeByte
in interface Encoder
public byte decodeByte(byte[] a)
decodeByte
in interface Encoder
public byte[] encodeShort(short s)
encodeShort
in interface Encoder
public byte[] encodeShort(short s, byte[] ret)
encodeShort
in interface Encoder
public short decodeShort(byte[] a)
decodeShort
in interface Encoder
public byte[] encodeLong(long l)
encodeLong
in interface Encoder
public byte[] encodeLong(long l, byte[] ret)
encodeLong
in interface Encoder
public long decodeLong(byte[] a)
decodeLong
in interface Encoder
public byte[] encodeDouble(double d)
encodeDouble
in interface Encoder
public byte[] encodeDouble(double d, byte[] ret)
encodeDouble
in interface Encoder
public double decodeDouble(byte[] a)
decodeDouble
in interface Encoder
public byte[] encodeFloat(float d)
encodeFloat
in interface Encoder
public byte[] encodeFloat(float d, byte[] ret)
encodeFloat
in interface Encoder
public float decodeFloat(byte[] a)
decodeFloat
in interface Encoder
public boolean decodeBoolean(byte[] val)
decodeBoolean
in interface Encoder
public byte[] encodeBoolean(boolean b)
encodeBoolean
in interface Encoder
public byte[] encodeBoolean(boolean b, byte[] ret)
encodeBoolean
in interface Encoder
public byte[] followingKey(int size, byte[] per)
followingKey
in interface Encoder
public byte[] lastPossibleKey(int size, byte[] er)
lastPossibleKey
in interface Encoder
Copyright © 2010-2014 The Apache Software Foundation. All Rights Reserved.