[]
Returns the current length of the stream, in bytes, taking into account any buffering.
int length()
The length of the stream, in bytes.