Next: , Previous: Manipulating Header Fields, Up: Manipulating Header Fields


4.3.1 Field Information

The information which can be extracted from a header field are its matrix (bpipe_hdrf_matrix), its data type (bpipe_hdrf_type), and its data (bpipe_hdrf_data). Note that bpipe_hdrf_data returns a C pointer to the data, not the actual data itself. You are allowed to manipulate the data through the pointer, but you should not attempt to extend the data (for example, copying a larger array). This must be done with hdrf_resize. Changes made to the data after the header is written to the output streams will (obviously) not appear on the output streams.