-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This PR extracts IO as much as possible from message reading/writing. * A `MessageEncoder` takes either Buffer, DType, or ArrayData and produces a `Vec<Buffer>` * A `MessageDecoder` takes a `BytesMut` and either returns a message, or the number of additional bytes it needs. * `(A)SyncMessageReader` wraps a `(Async)Read` trait to produce messages. Vice-versa for `(A)SyncMessageWriter`. * `(A)SyncIPCReader` provides a way of turning a Read into an `Array(Iterator|Stream)` * `Array(Iterator|Stream)IPC` provides a way to turn an `Array(Iterator|Stream)` into ipc bytes
- Loading branch information
Showing
39 changed files
with
1,520 additions
and
1,402 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.