This crate provides 2 utils:
Framed
,FramedRead
andFramedWrite
: Like the same things in tokio-util, but with monoio pure asyncAsyncReadRent
,AsyncWriteRent
,Sink
andStream
.AsyncEncoder
,AsyncDecoder
: Trait for encode and decode in async streaming way.
If you already have an codec(in tokio trait), you can use our Framed
to make it works in monoio. If you haven't, maybe you can try to write encoder and decoder in pure async way.