OpenV2G
|
Macros | |
#define | BIT_OUTPUT_STREAM_C |
Functions | |
int | writeBits (bitstream_t *stream, size_t nbits, uint32_t val) |
Write bits. More... | |
int | flush (bitstream_t *stream) |
Flush output. More... | |
#define BIT_OUTPUT_STREAM_C |
int flush | ( | bitstream_t * | stream | ) |
Flush output.
Flush output
int writeBits | ( | bitstream_t * | stream, |
size_t | nbits, | ||
uint32_t | bits | ||
) |
Write bits.
Write the n least significant bits of parameter b starting with the most significant, i.e. from left to right.
stream | Output Stream |
nbits | Number of bits |
bits | value |