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


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 all bytes from the stream using
    /// a chunk size.
    public func readAll(chunkSize: Int = 512) throws -> Bytes {
        var lastSize = 0
        var bytes: Bytes = []
