* Get the number of bytes required to fit `nbBits`. * Used to align bit buffers with byte boundaries for multi-process transfers */
| 175 | * Used to align bit buffers with byte boundaries for multi-process transfers |
| 176 | */ |
| 177 | constexpr int GetNumberOfBytes(int nbBits) |
| 178 | { |
| 179 | return ((nbBits + 7) / 8); |
| 180 | } |
| 181 | }; |
| 182 | |
| 183 | //------------------------------------------------------------------------------ |
no outgoing calls
no test coverage detected