C++
virtual Acad::ErrorStatus writeBChunk( const ads_binary& ) = 0;
Description
A BChunk is stored as a length (a short) followed by a pointer to its data.
The implementation of this function should follow that of the ObjectARX internal filers. It should:
- check the current filer status. If it is Acad::eOk, then continue, or else return the current status.
- write out the val.clen short indicating the length of binary data that will follow.
- write out the val.buf pointer to the start of the binary data.
- 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 |
---|---|
unnamed | Reference to the ads_binary structure containing the data to write out |