Skip to content

Consider using crate bytes for serialization buffers #8

Open
@mzabaluev

Description

@mzabaluev

In the module mempack of chain-core, ReadBuf looks like a statically lifetime-bound analog of Bytes from crate bytes. Switching the Readable/Writable traits to working with Bytes/BytesMut may enable more flexible zero-copy processing of asynchronously streamable data in the style of tokio-io.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions