public class

LongLEB128

extends Object
java.lang.Object
   ↳ com.pnfsoftware.jeb.util.encoding.LongLEB128

Class Overview

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.

Summary

Nested Classes
class LongLEB128.DecodedLong Decoded value along with the encoded length in bytes. 
Public Constructors
LongLEB128()
Public Methods
static LongLEB128.DecodedLong decodeULEB128(InputStream input)
static long readULEB128(InputStream input)
static void writeSLEB128(OutputStream out, long v)
static void writeULEB128(OutputStream out, long v)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public LongLEB128 ()

Public Methods

public static LongLEB128.DecodedLong decodeULEB128 (InputStream input)

Throws
IOException

public static long readULEB128 (InputStream input)

Throws
IOException

public static void writeSLEB128 (OutputStream out, long v)

Throws
IOException

public static void writeULEB128 (OutputStream out, long v)

Throws
IOException