kdu_long get_box_bytes( )
Java: long Get_box_bytes( )
[Declared in "../apps/compressed_io/jp2.h"]
Returns the total number of bytes in the currently open box, including the box header, not just its contents. If the box has a rubber length, the function can only report the number of bytes which have actually been read from the box, starting from the first byte of the box header. Returns 0 if the box is not open.