int cdds_readm(in_bin, in_tag, out_bin, out_tag, out_buf, count);
in_tag is a field tag, previously obtained eg. from cdds_member. It specifies a tag associated with in_bin. This provides a scale factor for count. If in_tag is zero (nominal), it defaults to the SEQUENCE (trace type) associated with in_bin.
Out_bin is a binary tag, previously obtained from cdds_open. It specifies an output binary stream.
out_tag is a field tag, previously obtained eg. from cdds_member. It specifies a tag associated with out_bin. This provides a scale factor for count. If out_tag is zero (nominal), it defaults to the SEQUENCE (trace type) associated with out_bin.
Data is read into out_buf. The minimum size is count times the size of out_tag.
The return value is the number of types actually read and mapped. EOF is returned, if an error occurred before any transfer.
BIN_TAG in_bin, out_bin; char *out_buf; ... /* read 10 traces into type buffer */ cdds_readm(in_bin, 0, out_bin, 0, out_buf, 10);
cdds_read Read binary data cdds_map Convert fields