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

Interface to a low-level EXI stream writer. More...

#include "errorHandle.h"
#include "procTypes.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...
 

Detailed Description

Date
Aug 23, 2010
Author
Rumen Kyusakov
Version
0.5
[Revision] $Id: streamWrite.h 328 2013-10-30 16:00:10Z kjussakov $

Definition in file streamWrite.h.

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.