C++
virtual Acad::ErrorStatus writeBChunk( AcDb::DxfCode code, const ads_binary& val ) = 0;
Description
A BChunk is stored as a length (a short) followed by its data.
The implementation of this function should follow that of the ObjectARX internal filers. It should:
- Check the current filer status. If it's Acad::eOk, then continue, or else return the current status.
- Write out the AcDb::DxfCode in code.
- Write out the val.clen short indicating the length of binary data that follows and the val.buf contents, all in one chunk.
- Return an Acad::ErrorStatus value indicating the success or failure of the operation (use Acad::eOk to indicate success).
Note
When using the ObjectARX internal filers (that is, not a custom filer), this method does not do anything about platform-dependent byte order.
Parameters
Parameters | Description |
---|---|
unnamed1 | DXF group code to be written out |
unnamed2 | ads_binary structure containing the data to be written out |