int cdds_read(bin, tag, buf, count);
tag is a field tag, previously obtained eg. from cdds_member. It specifies a tag associated with bin. This provides a scale factor for count. If tag is zero (nominal), it defaults to the SEQUENCE (trace type) associated with bin.
Data is read into buf. The minimum size is count times the size of tag.
The return value is the number of types actually read, or EOF if an error occurred before any transfer.
BIN_TAG in_bin; char *buf; ... /* read 10 traces into type buffer */ cdds_read(in_bin, 0, buf, 10);
cdds_readm Read binary stream & map buffer