Skip to content

Add a flag to frag buffer indicating raw/deflated #213

@ShaMan123

Description

@ShaMan123

Description 📝

Adding a flag to frag buffer indicating raw/deflated seems to be an easy solution that costs nothing and might even be non breaking if we add it to the end of the buffer.
This will abstract raw handling entirely, simplifying usage.
For more involved cases the consumer will still be able to control whether the buffer is raw or not and a util isRawBuffer can be provided as well, throwing or retuning undefined for backward compatibility.

Suggested solution 💡

No response

Alternative ⛕

No response

Additional context ☝️

No response

Validations ✅

  • Read the docs.
  • Check that there isn't already an issue that requests the same feature to avoid creating a duplicate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureSomething new that we could do

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions