Class LongLEB128
java.lang.Object
com.pnfsoftware.jeb.util.encoding.LongLEB128
Read and write LEB128-encoded longs. An 8-byte long is encoded on 1 to 10 bytes.
For decoding only on byte arrays, use the highest-level utility methods in LEB128
.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Decoded value along with the encoded length in bytes. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic LongLEB128.DecodedLong
decodeULEB128
(InputStream input) static long
readULEB128
(InputStream input) static void
writeSLEB128
(OutputStream out, long v) static void
writeULEB128
(OutputStream out, long v)
-
Constructor Details
-
LongLEB128
public LongLEB128()
-
-
Method Details
-
writeULEB128
- Throws:
IOException
-
readULEB128
- Throws:
IOException
-
decodeULEB128
- Throws:
IOException
-
writeSLEB128
- Throws:
IOException
-