third_party.pigweed.src/pw_varint
Alexei Frolov 311c620af6 pw_varint: use std::byte instead of uint8_t
This change switches pw_varint to using spans of std::byte instead of
uint8_t for encoding and decoding. The pw_protobuf module, which uses
pw_varint, is also updated.

A ToString formatter for std::byte is also added to pw_string (required
to use std::byte in unit test EXPECT statements).

Change-Id: I198370eecdabde32a85987dda98aed84c85b9c91
2020-01-06 19:47:54 +00:00
..
public/pw_varint pw_varint: use std::byte instead of uint8_t 2020-01-06 19:47:54 +00:00
BUILD Bazel: Move include paths to libraries 2020-01-06 18:41:23 +00:00
BUILD.gn pw_varint: Add varint module 2019-12-02 18:39:29 +00:00
CMakeLists.txt Basic CMake build 2020-01-04 01:05:46 +00:00
README.md pw_varint: Add varint module 2019-12-02 18:39:29 +00:00
varint_test.cc pw_varint: use std::byte instead of uint8_t 2020-01-06 19:47:54 +00:00
varint.cc pw_varint: use std::byte instead of uint8_t 2020-01-06 19:47:54 +00:00

pw_varint: Variable-length integer encoding