Common utilities for StreamIO module.
More...
#include "procTypes.h"
#include "errorHandle.h"
Go to the source code of this file.
- Date
- Oct 26, 2010
- Author
- Rumen Kyusakov
- Version
- 0.5
- [Revision] $Id: ioUtil.h 344 2014-11-17 16:08:37Z kjussakov $
Definition in file ioUtil.h.
unsigned char getBitsNumber |
( |
uint64_t |
val) | |
|
- Parameters
-
[in] | val | unsigned integer value |
- Returns
- The number of bits needed
Definition at line 37 of file ioUtil.c.
void moveBitPointer |
( |
EXIStream * |
strm, |
|
|
unsigned int |
bitPositions |
|
) |
| |
Takes care of byteIndex increasing when the movement cross a byte boundary
- Parameters
-
[in] | strm | EXI stream of bits |
[in] | bitPositions | the number of bit positions to move the pointer |
Definition at line 20 of file ioUtil.c.
- Parameters
-
[in] | strm | EXI stream of bits |
[in] | numBytesToBeRead | the number of bytes that are requested for parsing |
- Returns
- The number of bits needed
Definition at line 101 of file ioUtil.c.
- Parameters
-
[in] | strm | EXI stream of bits |
- Returns
- The number of bits needed
Definition at line 130 of file ioUtil.c.