     /// byte array from the stream and returns the first.
     ///
     /// This can be overridden with something more performant.
-    @available(*, deprecated)
     public func readByte() throws -> Byte? {
         return try read(max: 1).first
     }


    /// Reads all bytes from the stream using
    /// a chunk size.
    @available(*, deprecated)
    public func readAll(chunkSize: Int = 512) throws -> Bytes {
        var lastSize = 0
        var bytes: Bytes = []

    
    /// Reads and filters non-valid ASCII characters
    /// from the stream until a new line character is returned.
    public func readLine() throws -> Bytes {
        var line: Bytes = []

