Skip to content

Automatically resize as needed #2

@hpx7

Description

@hpx7

Instead of being a fixed length, it would be nice if I could initialize it without a length like new ByteBuf() or similar. Then, an internal buffer could grow over time as needed.

The design tradeoff of having an internal buffer vs extending DataView directly is probably that you would need some kind of toBuffer() method that would return a view only up until the current byteOffset.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions