ΒΆinline unsigned int encodeSLEB128(
    int64_t Value,
    uint8_t* p,
    unsigned int PadTo = 0)

Description

Utility function to encode a SLEB128 value to a buffer. Returns the length in bytes of the encoded value.

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

Parameters

int64_t Value
uint8_t* p
unsigned int PadTo = 0