Package org.msgpack.core
Class MessagePack.Code
- java.lang.Object
-
- org.msgpack.core.MessagePack.Code
-
- Enclosing class:
- MessagePack
public static final class MessagePack.Code extends java.lang.ObjectThe prefix code set of MessagePack format. See also https://github.com/msgpack/msgpack/blob/master/spec.md for details.
-
-
Field Summary
Fields Modifier and Type Field Description static byteARRAY16static byteARRAY32static byteBIN16static byteBIN32static byteBIN8static byteEXT16static byteEXT32static byteEXT8static byteFALSEstatic byteFIXARRAY_PREFIXstatic byteFIXEXT1static byteFIXEXT16static byteFIXEXT2static byteFIXEXT4static byteFIXEXT8static byteFIXMAP_PREFIXstatic byteFIXSTR_PREFIXstatic byteFLOAT32static byteFLOAT64static byteINT16static byteINT32static byteINT64static byteINT8static byteMAP16static byteMAP32static byteNEGFIXINT_PREFIXstatic byteNEVER_USEDstatic byteNILstatic bytePOSFIXINT_MASKstatic byteSTR16static byteSTR32static byteSTR8static byteTRUEstatic byteUINT16static byteUINT32static byteUINT64static byteUINT8
-
Constructor Summary
Constructors Constructor Description Code()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanisFixedArray(byte b)static booleanisFixedMap(byte b)static booleanisFixedRaw(byte b)static booleanisFixInt(byte b)static booleanisFixStr(byte b)static booleanisNegFixInt(byte b)static booleanisPosFixInt(byte b)
-
-
-
Field Detail
-
POSFIXINT_MASK
public static final byte POSFIXINT_MASK
- See Also:
- Constant Field Values
-
FIXMAP_PREFIX
public static final byte FIXMAP_PREFIX
- See Also:
- Constant Field Values
-
FIXARRAY_PREFIX
public static final byte FIXARRAY_PREFIX
- See Also:
- Constant Field Values
-
FIXSTR_PREFIX
public static final byte FIXSTR_PREFIX
- See Also:
- Constant Field Values
-
NIL
public static final byte NIL
- See Also:
- Constant Field Values
-
NEVER_USED
public static final byte NEVER_USED
- See Also:
- Constant Field Values
-
FALSE
public static final byte FALSE
- See Also:
- Constant Field Values
-
TRUE
public static final byte TRUE
- See Also:
- Constant Field Values
-
BIN8
public static final byte BIN8
- See Also:
- Constant Field Values
-
BIN16
public static final byte BIN16
- See Also:
- Constant Field Values
-
BIN32
public static final byte BIN32
- See Also:
- Constant Field Values
-
EXT8
public static final byte EXT8
- See Also:
- Constant Field Values
-
EXT16
public static final byte EXT16
- See Also:
- Constant Field Values
-
EXT32
public static final byte EXT32
- See Also:
- Constant Field Values
-
FLOAT32
public static final byte FLOAT32
- See Also:
- Constant Field Values
-
FLOAT64
public static final byte FLOAT64
- See Also:
- Constant Field Values
-
UINT8
public static final byte UINT8
- See Also:
- Constant Field Values
-
UINT16
public static final byte UINT16
- See Also:
- Constant Field Values
-
UINT32
public static final byte UINT32
- See Also:
- Constant Field Values
-
UINT64
public static final byte UINT64
- See Also:
- Constant Field Values
-
INT8
public static final byte INT8
- See Also:
- Constant Field Values
-
INT16
public static final byte INT16
- See Also:
- Constant Field Values
-
INT32
public static final byte INT32
- See Also:
- Constant Field Values
-
INT64
public static final byte INT64
- See Also:
- Constant Field Values
-
FIXEXT1
public static final byte FIXEXT1
- See Also:
- Constant Field Values
-
FIXEXT2
public static final byte FIXEXT2
- See Also:
- Constant Field Values
-
FIXEXT4
public static final byte FIXEXT4
- See Also:
- Constant Field Values
-
FIXEXT8
public static final byte FIXEXT8
- See Also:
- Constant Field Values
-
FIXEXT16
public static final byte FIXEXT16
- See Also:
- Constant Field Values
-
STR8
public static final byte STR8
- See Also:
- Constant Field Values
-
STR16
public static final byte STR16
- See Also:
- Constant Field Values
-
STR32
public static final byte STR32
- See Also:
- Constant Field Values
-
ARRAY16
public static final byte ARRAY16
- See Also:
- Constant Field Values
-
ARRAY32
public static final byte ARRAY32
- See Also:
- Constant Field Values
-
MAP16
public static final byte MAP16
- See Also:
- Constant Field Values
-
MAP32
public static final byte MAP32
- See Also:
- Constant Field Values
-
NEGFIXINT_PREFIX
public static final byte NEGFIXINT_PREFIX
- See Also:
- Constant Field Values
-
-
Method Detail
-
isFixInt
public static final boolean isFixInt(byte b)
-
isPosFixInt
public static final boolean isPosFixInt(byte b)
-
isNegFixInt
public static final boolean isNegFixInt(byte b)
-
isFixStr
public static final boolean isFixStr(byte b)
-
isFixedArray
public static final boolean isFixedArray(byte b)
-
isFixedMap
public static final boolean isFixedMap(byte b)
-
isFixedRaw
public static final boolean isFixedRaw(byte b)
-
-