public class PlainDecoder extends Decoder
| Constructor and Description |
|---|
PlainDecoder() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext(ByteBuffer buffer) |
BigDecimal |
readBigDecimal(ByteBuffer buffer) |
Binary |
readBinary(ByteBuffer buffer) |
boolean |
readBoolean(ByteBuffer buffer) |
double |
readDouble(ByteBuffer buffer) |
float |
readFloat(ByteBuffer buffer) |
int |
readInt(ByteBuffer buffer) |
long |
readLong(ByteBuffer buffer) |
short |
readShort(ByteBuffer buffer) |
void |
reset() |
getDecoderByType, getType, setTypepublic boolean readBoolean(ByteBuffer buffer)
readBoolean in class Decoderpublic short readShort(ByteBuffer buffer)
public int readInt(ByteBuffer buffer)
public long readLong(ByteBuffer buffer)
public float readFloat(ByteBuffer buffer)
public double readDouble(ByteBuffer buffer)
readDouble in class Decoderpublic Binary readBinary(ByteBuffer buffer)
readBinary in class Decoderpublic boolean hasNext(ByteBuffer buffer)
public BigDecimal readBigDecimal(ByteBuffer buffer)
readBigDecimal in class DecoderCopyright © 2022 The Apache Software Foundation. All rights reserved.