Function dfir_rs::util::tcp_bytestream
source ยท pub fn tcp_bytestream(
stream: TcpStream,
) -> (FramedWrite<OwnedWriteHalf, BytesCodec>, FramedRead<OwnedReadHalf, BytesCodec>)
Expand description
Helper creates a TCP Stream
and Sink
for undelimited streams of Bytes
.