public class Helpers
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
class |
Helpers.UInt16
Wrapper for Unsigned Int16.
|
class |
Helpers.UInt32
Wrapper for Unsigned Int32.
|
class |
Helpers.UInt64
Wrapper for Unsigned Int64.
|
class |
Helpers.UInt8
Wrapper for Unsigned Int8.
|
| Constructor and Description |
|---|
Helpers() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.Object |
deserialize(byte[] b)
Deserialize given byte array into object.
|
static java.lang.Object |
deserialize(java.io.InputStream bais)
Deserialize given inputstream into object.
|
static byte[] |
serialize(java.lang.Object o)
Serialize object.
|
public static byte[] serialize(java.lang.Object o)
throws java.lang.Exception
o - java.lang.Exceptionpublic static java.lang.Object deserialize(byte[] b)
throws java.lang.Exception
b - java.lang.Exceptionpublic static java.lang.Object deserialize(java.io.InputStream bais)
throws java.lang.Exception
bais - java.lang.Exception