API Reference > Classes > PRC Entities Input/output Operations for Entities > OdPrcCompressedFiler Class > OdPrcCompressedFiler Methods > writeBits Method > OdPrcCompressedFiler::writeBits Method (OdUInt32, OdUInt8 *)
OdPrcCompressedFiler::writeBits Method (OdUInt32, OdUInt8 *)
Syntax
C++
virtual void writeBits(OdUInt32 numBits, OdUInt8 * pBuf) = 0;
Parameters 
Description 
OdUInt32 numBits 
[in] The number of bits to write.
 
OdUInt8 * pBuf 
[in] A pointer to a value to extract bits from. 

Writes a set of bits to the file. 

 

Copyright (c) 2002-2020. Open Design Alliance. All rights reserved.