org.joda.beans.ser.bin
Class MsgPack
java.lang.Object
org.joda.beans.ser.bin.MsgPack
- Direct Known Subclasses:
- JodaBeanBinReader, MsgPackInput, MsgPackOutput
public abstract class MsgPack
- extends Object
Constants used in MsgPack binary serialization.
This uses the v2.0 specification of MsgPack as of 2014-01-29.
|
Method Summary |
protected static boolean |
isArray(int typeByte)
|
protected static boolean |
isIntegral(int typeByte)
|
protected static boolean |
isMap(int typeByte)
|
protected static boolean |
isString(int typeByte)
|
protected static String |
toHex(int b)
Converts a byte to a hex string for debugging. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MsgPack
public MsgPack()
toHex
protected static String toHex(int b)
- Converts a byte to a hex string for debugging.
- Parameters:
b - the byte
- Returns:
- the two character hex equivalent, not null
isMap
protected static boolean isMap(int typeByte)
throws IOException
- Throws:
IOException
isArray
protected static boolean isArray(int typeByte)
throws IOException
- Throws:
IOException
isString
protected static boolean isString(int typeByte)
throws IOException
- Throws:
IOException
isIntegral
protected static boolean isIntegral(int typeByte)
throws IOException
- Throws:
IOException
Copyright © 2007–2014 Joda.org. All rights reserved.