com.gomjabbar.classes.bytecode
Class ByteCodeUtilities

java.lang.Object
  |
  +--com.gomjabbar.classes.bytecode.ByteCodeUtilities

public abstract class ByteCodeUtilities
extends java.lang.Object


Constructor Summary
ByteCodeUtilities()
           
 
Method Summary
static int b22i(byte[] b)
           
static int b22si(byte[] b)
           
static byte b2sb(byte high, byte low)
           
static int b2si(byte b)
           
static char[] b2string(byte b)
           
static char[] b2string(byte[] b)
           
static long b42l(byte[] b)
           
static long b42sl(byte[] b)
           
static void check_bytes_with_ex(byte[] l, byte[] r)
           
static boolean check_bytes(byte[] l, byte[] r)
           
static byte[] i2b2(int i)
           
static byte i2sb(int i)
           
static byte[] l2b4(long l)
           
static byte[] read_from_bytes(byte[] b, long[] start, long count)
           
static int sb2i(byte b)
           
static byte[] serialize(byte[][] m)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ByteCodeUtilities

public ByteCodeUtilities()
Method Detail

b2sb

public static byte b2sb(byte high,
                        byte low)

i2sb

public static byte i2sb(int i)

sb2i

public static int sb2i(byte b)

i2b2

public static byte[] i2b2(int i)

b22i

public static int b22i(byte[] b)

l2b4

public static byte[] l2b4(long l)

b42l

public static long b42l(byte[] b)

b2si

public static int b2si(byte b)

b22si

public static int b22si(byte[] b)

b42sl

public static long b42sl(byte[] b)

b2string

public static char[] b2string(byte b)

b2string

public static char[] b2string(byte[] b)

serialize

public static byte[] serialize(byte[][] m)

read_from_bytes

public static byte[] read_from_bytes(byte[] b,
                                     long[] start,
                                     long count)

check_bytes

public static boolean check_bytes(byte[] l,
                                  byte[] r)

check_bytes_with_ex

public static void check_bytes_with_ex(byte[] l,
                                       byte[] r)
                                throws java.lang.RuntimeException