// Returns number of bytes needed to store `value` in leb128 format.
int Leb128Size(uint64_t value);
// Reads leb128 encoded value and advance read_at by number of bytes consumed. // Sets read_at to nullptr on error.
uint64_t ReadLeb128(const uint8_t*& read_at, const uint8_t* end);
// Encodes `value` in leb128 format. Assumes buffer has size of at least // Leb128Size(value). Returns number of bytes consumed.
int WriteLeb128(uint64_t value, uint8_t* buffer);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.