Skip to content

Encodes a Vn integer as a VarInt. VarInt is an efficient way of encoding variable length integers and is commonly used with Protobuf. VarInt Encode lives in the Networking category of the fx menu.

ParameterTypeRequiredDefaultDescription
Inputstringyes—Value to transform. Previous step output or a literal.

Input is the primary value (previous step output or a literal).

TypeDescription
stringResult of the VarInt Encode transformation.
Run VarInt Encode

Encodes a Vn integer as a VarInt. Adjust optional parameters when the defaults do not match your payload.

  1. Set Input to the value to transform (previous step output or a literal).

  2. Confirm Output value shows the transformed result.