jremote jbase5.2.1

com.jbase.jremote.io
Class ByteTools

java.lang.Object
  extended by com.jbase.jremote.io.ByteTools

public class ByteTools
extends java.lang.Object


Field Summary
static short MASK_TO_BYTE
           
static int NUMBER_OF_BITS_IN_A_BYTE
           
static int SIZE_OF_AN_INT_IN_BYTES
           
 
Constructor Summary
ByteTools()
           
 
Method Summary
static java.lang.String dumpBytes(byte[] bs)
           
static byte[] intToByteArray(int value)
           
static int readInt(byte[] p_src)
           
static void writeInt(byte[] p_dest, int p_toWrite)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NUMBER_OF_BITS_IN_A_BYTE

public static final int NUMBER_OF_BITS_IN_A_BYTE
See Also:
Constant Field Values

MASK_TO_BYTE

public static final short MASK_TO_BYTE
See Also:
Constant Field Values

SIZE_OF_AN_INT_IN_BYTES

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

ByteTools

public ByteTools()
Method Detail

writeInt

public static void writeInt(byte[] p_dest,
                            int p_toWrite)

intToByteArray

public static final byte[] intToByteArray(int value)

readInt

public static int readInt(byte[] p_src)

dumpBytes

public static java.lang.String dumpBytes(byte[] bs)

jremote jbase5.2.1

Copyright © 2010 TEMENOS. All Rights Reserved.