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.Object
The 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 byte
ARRAY16
static byte
ARRAY32
static byte
BIN16
static byte
BIN32
static byte
BIN8
static byte
EXT16
static byte
EXT32
static byte
EXT8
static byte
FALSE
static byte
FIXARRAY_PREFIX
static byte
FIXEXT1
static byte
FIXEXT16
static byte
FIXEXT2
static byte
FIXEXT4
static byte
FIXEXT8
static byte
FIXMAP_PREFIX
static byte
FIXSTR_PREFIX
static byte
FLOAT32
static byte
FLOAT64
static byte
INT16
static byte
INT32
static byte
INT64
static byte
INT8
static byte
MAP16
static byte
MAP32
static byte
NEGFIXINT_PREFIX
static byte
NEVER_USED
static byte
NIL
static byte
POSFIXINT_MASK
static byte
STR16
static byte
STR32
static byte
STR8
static byte
TRUE
static byte
UINT16
static byte
UINT32
static byte
UINT64
static byte
UINT8
-
Constructor Summary
Constructors Constructor Description Code()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isFixedArray(byte b)
static boolean
isFixedMap(byte b)
static boolean
isFixedRaw(byte b)
static boolean
isFixInt(byte b)
static boolean
isFixStr(byte b)
static boolean
isNegFixInt(byte b)
static boolean
isPosFixInt(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)
-
-