Package org.apache.sysds.runtime.io.hdf5
Class H5BufferBuilder
java.lang.Object
org.apache.sysds.runtime.io.hdf5.H5BufferBuilder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()static BitSetconvert(long value) getNewVal(double d) intgetSize()voidgoToPositionWithWriteZero(long pos) voidwrite(long v, int sizeOfLength) voidwriteBitSet(BitSet bitSet, int length) voidwriteByte(int i) voidwriteBytes(byte[] bytes) voidwriteDouble(double l) voidwriteInt(int i) voidwriteLong(long l) voidwriteShort(short i)
-
Constructor Details
-
H5BufferBuilder
public H5BufferBuilder()
-
-
Method Details
-
getSize
public int getSize() -
writeByte
public void writeByte(int i) -
writeBytes
public void writeBytes(byte[] bytes) -
writeInt
public void writeInt(int i) -
writeShort
public void writeShort(short i) -
writeLong
public void writeLong(long l) -
getNewVal
-
convert
-
writeDouble
public void writeDouble(double l) -
write
public void write(long v, int sizeOfLength) -
build
-
noOrderBuild
-
writeBitSet
-
goToPositionWithWriteZero
public void goToPositionWithWriteZero(long pos)
-