int length

Returns the length of the content that has been accumulated so far. This is a constant-time operation.

Source

external int get length;