Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 199ed5a8 authored by Martin Geisler's avatar Martin Geisler
Browse files

PDL: fix “fractional bit” -> “fractional byte”

The fields are not a whole number of bytes, hence they’re fractionally
byte sized.

Test: none
Change-Id: I9dec0d9771bd76cd217a718bebd585978af823ef
parent 2bb6e84a
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -54,10 +54,11 @@ packet Brew {
}
```

The endianess affects how fields of fractional bit-size (hence named bit-fields) are parsed or
serialized. Such fields are grouped together to the next byte boundary, least
significant bit first, and then byte-swapped to the required endianess before
being written to memory, or after being read from memory.
The endianess affects how fields of fractional byte sizes (hence named
bit-fields) are parsed or serialized. Such fields are grouped together to the
next byte boundary, least significant bit first, and then byte-swapped to the
required endianess before being written to memory, or after being read from
memory.

```
packet Coffee {