Records
Functions
-
uint32_t Checksum (std::span<const std::byte> bytes)BootConfig's checksum is calculated a simple sum over all bytes, padding bytes included.
This method in conjunction with the trailer allow for easy appending, since we can continue
adding from the previous checksum, and the `
\
0` padding bytes can be safely overwritten,
since they dont contribute to the checksum.
Defined at line 219 of file ../../zircon/kernel/phys/lib/linux-boot-config/include/lib/linux-boot-config/linux-boot-config.h
Concepts
template <typename T> Visitor requires (T visitor, const Key &key, const Value &value) { { visitor(key, value) }; }
A callback for visiting each statement in declaration order. A key may be visited multiple times,
when it is operated on multiple times. For example:
```
foo = 123
foo += 234
foo := 5
```
key `foo` is visited 3 times.
Defined at line 202 of file ../../zircon/kernel/phys/lib/linux-boot-config/include/lib/linux-boot-config/linux-boot-config.h