ΒΆinline unsigned int encodeSLEB128(
    int64_t Value,
    llvm::raw_ostream& OS,
    unsigned int PadTo = 0)

Description

Utility function to encode a SLEB128 value to an output stream. Returns the length in bytes of the encoded value.

Declared at: llvm/include/llvm/Support/LEB128.h:23

Parameters

int64_t Value
llvm::raw_ostream& OS
unsigned int PadTo = 0