! This can then be used to construct a framer to adapt a full-duplex //! byte stream into a stream of frames.I guess this is more of a question rather than a bug, but, the documentation makes this very unclear to me so I thought it worth asking as an issue. will //! return a length delimited codec using default configuration values. ! //! # Getting started //! //! If implementing a protocol from scratch, using length delimited framing //! is an easy way to get started. This allows the consumer to work with entire frames //! without having to worry about buffering or other framing logic. The //! `length_delimited` module provides utilities for handling the length //! based framing. ! Frame a stream of bytes based on a length prefix //! //! Many protocols delimit their frames by prefacing frame data with a //! frame head that specifies the length of the frame.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |