E57 Foundation API v1.1.312
Aug. 10, 2011
|
Write a buffer of bytes to a blob.
The memory buffer buf must store at least count bytes. The data is stored in a binary section of the ImageFile with checksum protection, so undetected corruption is very unlikely. It is an error to attempt to write outside the declared size of the Blob. The format of the data written is opaque (unspecified by the ASTM E57 data format standard). Since buf is a byte buffer, byte ordering is irrelevant (it will come out in the same order that it went in). There is no constraint on the ordering of writes. It is not an error to write a portion of the BlobNode data more than once, or not at all. Initially all the BlobNode data is zero, so if a portion is not written, it will remain zero. The BlobNode is one of the two node types that must be attached to the root of a write mode ImageFile before write operations can be performed (the other type is CompressedVectorNode).
|