Utility function to get the size of the SLEB128‐encoded value.

Synopsis

Declared in <llvm/Support/LEB128.h>

extern
unsigned int
getSLEB128Size(int64_t Value);

Return Value

The number of bytes needed to encode Value as SLEB128.

Parameters

Name

Description

Value

The signed value whose encoded size is computed.

Created with MrDocs