Skip to content

encoding/binary: add AppendUvarint and AppendVarint #51644

Closed
@thatradius

Description

@thatradius

#50601 introduced AppendByteOrder, so it would be nice if we had

func AppendUvarint(buf []byte, x uint64) []byte
func AppendVarint(buf []byte, x int64) []byte

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions