fn readByte(self: Self) Error || error{EndOfStream}!u8

Reads 1 byte from the stream or returns error.EndOfStream.

Parameters

self: Self,