exip  Alpha 0.5.4
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
streamWrite.c File Reference

Implementing the interface to a low-level EXI stream writer. More...

#include "streamWrite.h"
#include "ioUtil.h"

Go to the source code of this file.

Functions

errorCode writeNextBit (EXIStream *strm, boolean bit_val)
 Writes a single bit to an EXI stream and moves its current bit pointer. More...
 
errorCode writeNBits (EXIStream *strm, unsigned char nbits, unsigned int bits_val)
 Writes an unsigned integer value to an EXI stream with nbits (possible 0 paddings) and moves the stream current bit pointer to the last bit written. More...
 

Variables

const unsigned char BIT_MASK []
 

Detailed Description

Date
Aug 23, 2010
Author
Rumen Kyusakov
Version
0.5
[Revision] $Id: streamWrite.c 344 2014-11-17 16:08:37Z kjussakov $

Definition in file streamWrite.c.

Function Documentation

errorCode writeNBits ( EXIStream strm,
unsigned char  nbits,
unsigned int  bits_val 
)
Parameters
[out]strmEXI stream of bits
[in]nbitsnumber of bits
[in]bits_valresulting bits value

Definition at line 47 of file streamWrite.c.

errorCode writeNextBit ( EXIStream strm,
boolean  bit_val 
)
Parameters
[out]strmEXI stream of bits
[in]bit_valthe value of the next bit: 0 or 1
Returns
Error handling code

Definition at line 23 of file streamWrite.c.

Variable Documentation

const unsigned char BIT_MASK[]

Definition at line 21 of file streamRead.c.