public class FloatBinding extends ComparableBinding
SignedFloatBinding,
ComparableBinding| Modifier and Type | Field and Description |
|---|---|
static FloatBinding |
BINDING |
| Modifier and Type | Method and Description |
|---|---|
static float |
entryToFloat(@NotNull ByteIterable entry)
De-serializes ByteIterable entry to an unsigned non-negative
float value. |
static ArrayByteIterable |
floatToEntry(float object)
Serializes unsigned non-negative
float value to the ArrayByteIterable entry. |
java.lang.Float |
readObject(@NotNull java.io.ByteArrayInputStream stream) |
void |
writeObject(@NotNull LightOutputStream output,
@NotNull java.lang.Comparable object) |
entryToObject, objectToEntrypublic static final FloatBinding BINDING
public java.lang.Float 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 float entryToFloat(@NotNull
@NotNull ByteIterable entry)
float value.entry - ByteIterable instancepublic static ArrayByteIterable floatToEntry(float object)
float value to the ArrayByteIterable entry.object - value to serialize