com.mebigfatguy.fbcontrib.utils
Class CodeByteUtils

java.lang.Object
  extended by com.mebigfatguy.fbcontrib.utils.CodeByteUtils

public class CodeByteUtils
extends java.lang.Object


Constructor Summary
CodeByteUtils()
           
 
Method Summary
static int getbyte(byte[] bytes, int offset)
          returns the code byte at a specific offset as an int
static int getshort(byte[] bytes, int offset)
          returns the code short at a specific offset as an int
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CodeByteUtils

public CodeByteUtils()
Method Detail

getbyte

public static int getbyte(byte[] bytes,
                          int offset)
returns the code byte at a specific offset as an int

Parameters:
bytes - the code bytes
offset - the offset into the code
Returns:
the byte as an int

getshort

public static int getshort(byte[] bytes,
                           int offset)
returns the code short at a specific offset as an int

Parameters:
bytes - the code bytes
offset - the offset into the code
Returns:
the short as an int


Copyright © 2005-2008 MeBigFatGuy.com. All Rights Reserved.