com.j256.simplemagic.endian
Interface EndianConverter
- All Known Implementing Classes:
- BigEndianConverter, LittleEndianConverter, MiddleEndianConverter
public interface EndianConverter
Class which converts from a particular machine byte representation into values appropriate for Java.
- Author:
- graywatson
Method Summary |
Long |
convertNumber(int offset,
byte[] bytes,
int size)
Convert a number of bytes starting at an offset into a long integer. |
convertNumber
Long convertNumber(int offset,
byte[] bytes,
int size)
- Convert a number of bytes starting at an offset into a long integer.
- Returns:
- The long or null if not enough bytes.
This content is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.