ByteFileReader improvements for optimizing custom deserializer
Add more databoard-related reading API for org.simantics.graph.representation.ByteFileReader
to enable custom deserializer performance improvements.
Also add methods that allow avoiding unnecessary memory allocations during reading.
Additions
class Endian {
public static void writeDynamicUInt32(byte[] out, int offset, int length) throws IOException
}
class ByteFileReader {
protected final int safeBytes(byte[] result, int off, int len) throws IOException
public long safeLong() throws IOException
public boolean getBoolean() throws IOException
public String readString() throws IOException
}