FreeRDP
BitStream.c File Reference
#include <winpr/assert.h>
#include <winpr/config.h>
#include <winpr/print.h>
#include <winpr/bitstream.h>

Functions

void BitDump (const char *tag, UINT32 level, const BYTE *buffer, UINT32 length, UINT32 flags)
 
UINT32 ReverseBits32 (UINT32 bits, UINT32 nbits)
 
void BitStream_Attach (wBitStream *bs, const BYTE *buffer, UINT32 capacity)
 
wBitStreamBitStream_New (void)
 
void BitStream_Free (wBitStream *bs)
 

Variables

static const char * BYTE_BIT_STRINGS_LSB [256]
 
static const char * BYTE_BIT_STRINGS_MSB [256]
 

Function Documentation

◆ BitDump()

void BitDump ( const char *  tag,
UINT32  level,
const BYTE buffer,
UINT32  length,
UINT32  flags 
)
Here is the caller graph for this function:

◆ BitStream_Attach()

void BitStream_Attach ( wBitStream bs,
const BYTE buffer,
UINT32  capacity 
)
Here is the caller graph for this function:

◆ BitStream_Free()

void BitStream_Free ( wBitStream bs)
Here is the caller graph for this function:

◆ BitStream_New()

wBitStream* BitStream_New ( void  )
Here is the caller graph for this function:

◆ ReverseBits32()

UINT32 ReverseBits32 ( UINT32  bits,
UINT32  nbits 
)

Variable Documentation

◆ BYTE_BIT_STRINGS_LSB

const char* BYTE_BIT_STRINGS_LSB[256]
static

WinPR: Windows Portable Runtime BitStream

Copyright 2014 Marc-Andre Moreau marca.nosp@m.ndre.nosp@m..more.nosp@m.au@g.nosp@m.mail..nosp@m.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

◆ BYTE_BIT_STRINGS_MSB

const char* BYTE_BIT_STRINGS_MSB[256]
static