Open biluohc opened 5 years ago
My feeling is that supporting one-byte-at-a-time IO, and thereby allowing use of readuntil
, readline
, etc would encourage inefficient code because one-byte-at-a-time loop inside readuntil
would call all the way down into the TLS library.
Better to use a buffering wrapper like https://github.com/BioJulia/BufferedStreams.jl
@samoconnor ,Thanks you, I used IOBuffer
finally.
Can you support this? The ordinary socket could be read by
readuntil
and 'readline' funtions.