Fragmenter.VarInt

public static class Fragmenter.VarInt extends Object

Class for parsing/generating protocol buffer compatible VarInts.

Fields

Name Description
public byte data
public int value
public int length

Constructors

VarInt

public VarInt(byte[] data)

Parameters

Name Description
byte[] data

VarInt

public VarInt(int value)

Parameters

Name Description
int value