WPILibC++ 2023.4.3
leb128.h File Reference
#include <stdint.h>
#include <optional>
#include <span>

Go to the source code of this file.

Classes

class  wpi::Uleb128Reader
 Unsigned LEB128 streaming reader. More...
 

Namespaces

namespace  wpi
 /file This file defines the SmallVector class.
 

Functions

uint64_t wpi::SizeUleb128 (uint64_t val)
 Get size of unsigned LEB128 data. More...
 
uint64_t wpi::WriteUleb128 (SmallVectorImpl< char > &dest, uint64_t val)
 Write unsigned LEB128 data. More...
 
void wpi::WriteUleb128 (raw_ostream &os, uint64_t val)
 Write unsigned LEB128 data. More...
 
uint64_t wpi::ReadUleb128 (const char *addr, uint64_t *ret)
 Read unsigned LEB128 data. More...
 
bool wpi::ReadUleb128 (raw_istream &is, uint64_t *ret)
 Read unsigned LEB128 data from a stream. More...