encodeULEB128 overloads
Synopses
Declared in <llvm/Support/LEB128.h>
Utility function to encode a ULEB128 value to an output stream.
unsigned int
encodeULEB128(
uint64_t Value,
raw_ostream& OS,
unsigned int PadTo = 0);
Utility function to encode a ULEB128 value to a buffer.
unsigned int
encodeULEB128(
uint64_t Value,
uint8_t* p,
unsigned int PadTo = 0);
Return Value
The length in bytes of the encoded value.
Parameters
Name |
Description |
Value |
The unsigned value to encode. |
OS |
The output stream to write the encoded bytes to. |
PadTo |
If non‐zero, pad the encoding to at least this many bytes. |
p |
The buffer to write the encoded bytes to. |
Created with MrDocs