Package io.permazen.encoding
Class ByteEncoding
java.lang.Object
- All Implemented Interfaces:
Encoding<Byte>,NaturalSortAware,Serializable,Comparator<Byte>
byte primitive type.- See Also:
-
Field Summary
Fields inherited from class io.permazen.encoding.AbstractEncoding
encodingId, typeTokenFields inherited from interface io.permazen.encoding.Encoding
MAX_ARRAY_DIMENSIONS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ByteconvertNumber(Number value) protected BytedownCast(long value) Methods inherited from class io.permazen.encoding.IntegralEncoding
getFixedWidth, hasPrefix0x00, hasPrefix0xff, read, skip, upCast, writeMethods inherited from class io.permazen.encoding.PrimitiveEncoding
compare, convert, equals, fromString, hashCode, sortsNaturally, supportsNull, toString, validateMethods inherited from class io.permazen.encoding.AbstractEncoding
getDefaultValue, getDefaultValueBytes, getEncodingId, getTypeToken, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongMethods inherited from interface io.permazen.encoding.Encoding
decode, encode, validateAndWrite
-
Constructor Details
-
ByteEncoding
-
-
Method Details
-
convertNumber
- Specified by:
convertNumberin classPrimitiveEncoding<Byte>
-
downCast
- Specified by:
downCastin classIntegralEncoding<Byte>
-