qrencode  4.1.1
About: libqrencode is a fast and compact library and command-line utility for encoding data in a QR Code symbol.
  Fossies Dox: qrencode-4.1.1.tar.bz2  ("unofficial" and yet experimental doxygen-generated source code documentation)  

bitstream.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  BitStream
 

Macros

#define BitStream_size(__bstream__)   (__bstream__->length)
 
#define BitStream_reset(__bstream__)   (__bstream__->length = 0)
 

Functions

BitStreamBitStream_new (void)
 
int BitStream_append (BitStream *bstream, BitStream *arg)
 
int BitStream_appendNum (BitStream *bstream, size_t bits, unsigned int num)
 
int BitStream_appendBytes (BitStream *bstream, size_t size, unsigned char *data)
 
unsigned char * BitStream_toByte (BitStream *bstream)
 
void BitStream_free (BitStream *bstream)
 

Macro Definition Documentation

◆ BitStream_reset

#define BitStream_reset (   __bstream__)    (__bstream__->length = 0)

Definition at line 39 of file bitstream.h.

◆ BitStream_size

#define BitStream_size (   __bstream__)    (__bstream__->length)

Definition at line 38 of file bitstream.h.

Function Documentation

◆ BitStream_append()

int BitStream_append ( BitStream bstream,
BitStream arg 
)

◆ BitStream_appendBytes()

int BitStream_appendBytes ( BitStream bstream,
size_t  size,
unsigned char *  data 
)

◆ BitStream_appendNum()

◆ BitStream_free()

void BitStream_free ( BitStream bstream)

◆ BitStream_new()

BitStream * BitStream_new ( void  )

◆ BitStream_toByte()

unsigned char * BitStream_toByte ( BitStream bstream)

Definition at line 184 of file bitstream.c.

References BitStream_size, BitStream::data, and size.

Referenced by QRinput_getByteStream().