public class RawBooleanCodec extends Object implements BooleanCodec
| Modifier and Type | Field and Description |
|---|---|
static RawBooleanCodec |
INSTANCE |
| Constructor and Description |
|---|
RawBooleanCodec() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
decode(byte[] bytes,
int offset) |
byte[] |
encode(boolean value) |
int |
encode(boolean value,
byte[] bytes,
int offset) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdecodepublic static final RawBooleanCodec INSTANCE
public byte[] encode(boolean value)
encode in interface BooleanCodecpublic int encode(boolean value,
byte[] bytes,
int offset)
encode in interface BooleanCodecpublic boolean decode(byte[] bytes,
int offset)
decode in interface BooleanCodecCopyright © 2009–2021. All rights reserved.