Block Writer
BlockWriter writes basic data structures in the bddf file.
-
class bosdyn.bddf.block_writer.BlockWriter(outfile)[source]
Bases: object
Writes data structures in the data file.
-
tell()[source]
Return location from start of file.
-
write_descriptor_block(block)[source]
Write a DescriptorBlock to the file.
-
write_data_block(desc_block, data)[source]
Write a block of data to the file.
-
close()[source]
Close the file, if not already closed.
-
property closed
Returns True if the writer has been closed.
Write the header of the data file, including annotations.
-
write_file_end(index_offset)[source]
Write the end of the data file.