jaron.simpleserialization
Class SerializationTypes

java.lang.Object
  extended by jaron.simpleserialization.SerializationTypes

public class SerializationTypes
extends java.lang.Object

The static SerializationData class provides some data type functionality.

Since:
1.0
Version:
1.0
Author:
jarontec gmail com

Field Summary
static int SIZEOF_FLOAT
           
static int SIZEOF_INTEGER
           
static int SIZEOF_STRING
           
 
Constructor Summary
SerializationTypes()
           
 
Method Summary
static int bytesToInteger(byte[] b)
           
static byte[] integerToBytes(int val)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SIZEOF_INTEGER

public static final int SIZEOF_INTEGER
See Also:
Constant Field Values

SIZEOF_FLOAT

public static final int SIZEOF_FLOAT
See Also:
Constant Field Values

SIZEOF_STRING

public static final int SIZEOF_STRING
See Also:
Constant Field Values
Constructor Detail

SerializationTypes

public SerializationTypes()
Method Detail

bytesToInteger

public static int bytesToInteger(byte[] b)

integerToBytes

public static byte[] integerToBytes(int val)