llvm::appendLEB128

Append a LEB128-encoded value to a byte buffer.

Synopsis

Declared in <llvm/Support/LEB128.h>

template<
    LEB128Sign Sign,
    typename T,
    typename U = char,
    unsigned int MaxLEB128SizeBytes = 16>
void
appendLEB128(
    SmallVectorImpl<U>& Buffer,
    T Value);

Parameters

NameDescription
BufferThe buffer to append the encoded bytes to.
ValueThe value to encode according to Sign.