5#ifndef WPIUTIL_WPI_LEB128_H_
6#define WPIUTIL_WPI_LEB128_H_
102 std::optional<uint64_t>
ReadOne(std::span<const uint8_t>* in);
Unsigned LEB128 streaming reader.
Definition: leb128.h:90
std::optional< uint64_t > ReadOne(std::span< const uint8_t > *in)
Decode a single ULEB128 value.
Definition: raw_istream.h:22
This class implements an extremely fast bulk output stream that can only output to a stream.
Definition: raw_ostream.h:44
::uint64_t uint64_t
Definition: Meta.h:58
/file This file defines the SmallVector class.
Definition: AprilTagFieldLayout.h:18
uint64_t SizeUleb128(uint64_t val)
Get size of unsigned LEB128 data.
uint64_t ReadUleb128(const char *addr, uint64_t *ret)
Read unsigned LEB128 data.
uint64_t WriteUleb128(SmallVectorImpl< char > &dest, uint64_t val)
Write unsigned LEB128 data.