Skip to content

Expose the low-level encoding/decoding primitives in a sub package #622

Open

Description

@burdiyan

Sometimes it can be quite useful to be able to manually write some data into a buffer, be it for performance reasons, or for some obscure encoding customizations needs.

Currently the low-level encoding/decoding functions are unexported in this module.

I suggest exposing the low-level encoding primitives as a separate package in the same module, similar to how the newly proposed v2 of the JSON package os the standard library exposes the similar primitives in its jsontext package.

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

    waiting-for-go-apiWaiting for go API updates (e.g. encoding/json/v2)

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions