public class

IntegerLEB128

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

Class Overview

Read and write LEB128-encoded integers. A 4-byte integer is encoded on 1 to 5 bytes.

For decoding only on byte arrays, use the highest-level utility methods in LEB128.

Summary

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

Public Constructors

public IntegerLEB128 ()

Public Methods

public static IntegerLEB128.DecodedInt decodeULEB128 (InputStream input)

Throws
IOException

public static int readULEB128 (InputStream input)

Throws
IOException

public static void writeSLEB128 (OutputStream out, int v)

Throws
IOException

public static void writeULEB128 (OutputStream out, int v)

Throws
IOException