public interface Encoder
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 f,
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) |
byte[] encodeByte(byte b, byte[] ret)
byte[] encodeByte(byte b)
byte decodeByte(byte[] a)
byte[] encodeShort(short s)
byte[] encodeShort(short s, byte[] ret)
short decodeShort(byte[] a)
byte[] encodeInt(int i)
byte[] encodeInt(int i, byte[] ret)
int decodeInt(byte[] a)
byte[] encodeLong(long l)
byte[] encodeLong(long l, byte[] ret)
long decodeLong(byte[] a)
byte[] encodeDouble(double d)
byte[] encodeDouble(double d, byte[] ret)
double decodeDouble(byte[] a)
byte[] encodeFloat(float d)
byte[] encodeFloat(float f, byte[] ret)
float decodeFloat(byte[] a)
boolean decodeBoolean(byte[] val)
byte[] encodeBoolean(boolean b)
byte[] encodeBoolean(boolean b, byte[] ret)
byte[] followingKey(int size, byte[] per)
byte[] lastPossibleKey(int size, byte[] er)
Copyright © 2010-2015 The Apache Software Foundation. All Rights Reserved.