llvm::BinaryStreamWriter::writeSLEB128

Write Value to the underlying stream using SLEB128 encoding.

Synopsis

Declared in <llvm/Support/BinaryStreamWriter.h>

Error
writeSLEB128(int64_t Value);

Return Value

a success error code if the data was successfully written, otherwise returns an appropriate error code.

Parameters

NameDescription
ValueThe signed integer to encode and write.