Function hydroflow::util::unix_bytes
source ยท pub fn unix_bytes(
stream: UnixStream,
) -> (FramedWrite<OwnedWriteHalf, LengthDelimitedCodec>, FramedRead<OwnedReadHalf, LengthDelimitedCodec>)
Expand description
Helper creates a Unix Stream
and Sink
for Bytes
strings where each string is
length-delimited.