Skip to content

Rotating buffer #12

@RCasatta

Description

@RCasatta

This library cannot consume Read by design because it needs a borrowed slice to create objects.
A rotating buffer filling data from a Read input and producing borrowed objects could overcome this limitation and read from streams. The buffer should rotate back every once in a while to be limited in size. It must be long enough to support the maximum size of the object to be read, luckily bitcoin objects are limited in size by consensus so there is an upper limit, at worse 4MB.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions