kdu_long get_total_bytes( )
Java: long Get_total_bytes( )
[Declared in "../coresys/common/kdu_compressed.h"]
Returns the total number of bytes written to or read from the code-stream so far. Returns 0 if used with an interchange codestream (i.e., if kdu_codestream was created with neither a compressed data source nor a compressed data target).
If set_max_bytes was called with its simulate_parsing argument set to true, and the code-stream was created for input, the value returned here excludes the bytes associated with code-stream packets which do not belong to the resolutions, components or quality layers of interets, as configured via any call to apply_input_restrictions.