Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: copy mode for decoder and Copy method for encoder #6

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Aug 26, 2021

  1. add copy mode to decoder and add copy method to encoder

    encoder.Copy() method returns a copy of the encoder to use separate
    buf thus can be concurrent safe.
    
    In the case when decoding a user supplied buf, making a copy of the
    []byte part in the buf allows user to modify the buf after decoding
    is done, this is the copy mode.
    Bai-Yingjie committed Aug 26, 2021
    Configuration menu
    Copy the full SHA
    af63eab View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2021

  1. Configuration menu
    Copy the full SHA
    083dd4b View commit details
    Browse the repository at this point in the history