OpenV2G
|
Bit Input Stream. More...
#include "EXITypes.h"
Go to the source code of this file.
Functions | |
int | readBits (bitstream_t *stream, size_t num_bits, uint32_t *b) |
Read bits. More... | |
Bit Input Stream.
Read bits and bytes from an underlying input stream.
int readBits | ( | bitstream_t * | stream, |
size_t | num_bits, | ||
uint32_t * | b | ||
) |
Read bits.
Read the next num_bits bits and returns result an integer.
stream | Input Stream |
num_bits | Number of bits |
b | Integer value (out) |