Package com.mebigfatguy.fbcontrib.utils
Class CodeByteUtils
java.lang.Object
com.mebigfatguy.fbcontrib.utils.CodeByteUtils
a collection of static methods for working with retrieving arbitrary code
bytes in a code byte array
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CodeByteUtils
private CodeByteUtils()
-
-
Method Details
-
getbyte
public static int getbyte(byte[] bytes, int offset) returns the code byte at a specific offset as an int- Parameters:
bytes- the code bytesoffset- 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 bytesoffset- the offset into the code- Returns:
- the short as an int
-