     /// 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
     }


extension ReadableStream {
    /// convenenience for not requiring a buffer to be passed
    @available(*, deprecated)
    public func read(max: Int) throws -> Bytes {
        var buffer = Bytes(repeating: 0, count: max)
        let receivedCount = try read(max: max, into: &buffer)

    
    /// 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 = []

