public final class ByteBinding extends ComparableBinding
ComparableBinding| Modifier and Type | Field and Description |
|---|---|
static ByteBinding |
BINDING |
| Modifier and Type | Method and Description |
|---|---|
static ArrayByteIterable |
byteToEntry(byte object)
Serializes
byte value to the ArrayByteIterable entry. |
static byte |
entryToByte(@NotNull ByteIterable entry)
De-serializes ByteIterable entry to a
byte value. |
java.lang.Byte |
readObject(@NotNull java.io.ByteArrayInputStream stream) |
void |
writeObject(@NotNull LightOutputStream output,
@NotNull java.lang.Comparable object) |
entryToObject, objectToEntrypublic static final ByteBinding BINDING
public java.lang.Byte readObject(@NotNull
@NotNull java.io.ByteArrayInputStream stream)
readObject in class ComparableBindingpublic void writeObject(@NotNull
@NotNull LightOutputStream output,
@NotNull
@NotNull java.lang.Comparable object)
writeObject in class ComparableBindingpublic static byte entryToByte(@NotNull
@NotNull ByteIterable entry)
byte value.entry - ByteIterable instancepublic static ArrayByteIterable byteToEntry(byte object)
byte value to the ArrayByteIterable entry.object - value to serialize