Skip to content

Automatically resize as needed #2

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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