#include <opennurbs_archive.h>
◆ ON_3DM_BIG_CHUNK() [1/2]
ON_3DM_BIG_CHUNK::ON_3DM_BIG_CHUNK |
( |
| ) |
|
|
default |
◆ ~ON_3DM_BIG_CHUNK()
ON_3DM_BIG_CHUNK::~ON_3DM_BIG_CHUNK |
( |
| ) |
|
|
default |
◆ ON_3DM_BIG_CHUNK() [2/2]
◆ Length()
offset (file position) of the byte immediately after the farthest successful write. When reading 3dm archives, this the archive offset of the first byte after the chunk's information content. When reading, a 16 bit or 32 bit CRC can follow the chunk information content. During ordinary reading and writing, valid seek target positions satisfy m_start_offset <= seek target pos <= m_end_offset. Returns: Number of bytes in the chunk, including bytes used to store CRC values. 0 for short chunks. 0 for chunks currently being written. Remarks: For chunks being read, m_start_offset + Length() = m_end_offset + SizeofCRC().
◆ LengthRemaining()
◆ operator=()
◆ SizeofCRC()
Returns: 0: no CRC 4: 32 bit CRC (4 bytes) 2: 16 bit CRC (2 bytes)
◆ m_big_value
◆ m_bLongChunk
true if chunk is a long chunk and m_big_value is a length.
◆ m_crc16
◆ m_crc32
◆ m_do_crc16
CRC settings.
true (1) if we are calculating 16 bit CRC
◆ m_do_crc32
true (1) if we are calculating 32 bit CRC
◆ m_end_offset
archive offset (file position) of first byte of chunk information content. When writing 3dm archives, this is the archive
◆ m_start_offset
When reading or writing 3dm archives, this is the
◆ m_typecode