com.github.stephenc.javaisotools.udflib.tools
Class BinaryTools
java.lang.Object
com.github.stephenc.javaisotools.udflib.tools.BinaryTools
public class BinaryTools
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BinaryTools
public BinaryTools()
readUInt64AsLong
public static long readUInt64AsLong(RandomAccessFile myRandomAccessFile)
throws IOException
- Throws:
IOException
readUInt32AsLong
public static long readUInt32AsLong(RandomAccessFile myRandomAccessFile)
throws IOException
- Throws:
IOException
readUInt32AsInt
public static int readUInt32AsInt(RandomAccessFile myRandomAccessFile)
throws IOException
- Throws:
IOException
readUInt16AsInt
public static int readUInt16AsInt(RandomAccessFile myRandomAccessFile)
throws IOException
- Throws:
IOException
getUInt64BytesFromLong
public static int getUInt64BytesFromLong(long value,
byte[] target,
int start)
getUInt32BytesFromLong
public static int getUInt32BytesFromLong(long value,
byte[] target,
int start)
getUInt16BytesFromInt
public static int getUInt16BytesFromInt(int value,
byte[] target,
int start)
readUInt32AsLong
public static long readUInt32AsLong(InputStream myInputStream)
throws IOException
- Throws:
IOException
readUInt64AsLong
public static long readUInt64AsLong(InputStream myInputStream)
throws IOException
- Throws:
IOException
readByteArray
public static byte[] readByteArray(InputStream myInputStream,
int length)
throws IOException
- Throws:
IOException
Copyright © 2013. All Rights Reserved.