STD: Add length property to BytesInput
STD: Add length property to StringBuf
STD: Add length property to BytesBuffer, BytesOutput
TESTS: Add tests for length property in IO classes