crblib/fbitio.c
/*
 *  Allocate and init a BII
 *  for reads, FileBitIO_InitRead must also be called
 *
 */
Allocate and init a BII
for reads, FileBitIO_InitRead must also be called
Allocate and init a BII for reads FileBitIO_InitRead must also be called
struct FileBitIOInfo * FileBitIO_Init(FILE * inFP)
{
struct FileBitIOInfo * BII;
if ( (BII = malloc(sizeof(struct FileBitIOInfo))) == NULL )
  return(NULL);
BII->FP = inFP;
BII->OutLen = 0;
BII->BitBuffer = 0;
BII->BitsToGo = 8;
return(BII);
}
struct FileBitIOInfo * FileBitIO_Init ( FILE * inFP ) { struct FileBitIOInfo * BII ; if ( ( BII = malloc ( sizeof ( struct FileBitIOInfo ) ) ) == NULL ) return ( NULL ) ; BII -> FP = inFP ; BII -> OutLen = 0 ; BII -> BitBuffer = 0 ; BII -> BitsToGo = 8 ; return ( BII ) ; }
Allocate and init a BII
  for reads, FileBitIO_InitRead must also be called
Allocate and init a BII for reads FileBitIO_InitRead must also be called