Package org.apache.sysds.runtime.io.hdf5
Class Utils
- java.lang.Object
- 
- org.apache.sysds.runtime.io.hdf5.Utils
 
- 
 public final class Utils extends Object 
- 
- 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static intbitsToInt(BitSet bits, int start, int length)static ByteBuffercreateSubBuffer(ByteBuffer source, int length)static intreadBytesAsUnsignedInt(ByteBuffer buffer, int length)static longreadBytesAsUnsignedLong(ByteBuffer buffer, int length)static StringreadUntilNull(ByteBuffer buffer)static voidseekBufferToNextMultipleOfEight(ByteBuffer bb)
 
- 
- 
- 
Method Detail- 
readUntilNullpublic static String readUntilNull(ByteBuffer buffer) 
 - 
seekBufferToNextMultipleOfEightpublic static void seekBufferToNextMultipleOfEight(ByteBuffer bb) 
 - 
readBytesAsUnsignedIntpublic static int readBytesAsUnsignedInt(ByteBuffer buffer, int length) 
 - 
readBytesAsUnsignedLongpublic static long readBytesAsUnsignedLong(ByteBuffer buffer, int length) 
 - 
createSubBufferpublic static ByteBuffer createSubBuffer(ByteBuffer source, int length) 
 - 
bitsToIntpublic static int bitsToInt(BitSet bits, int start, int length) 
 
- 
 
-