Skip to content

Support varint unpacking #52

Open
Open
@abourget

Description

@abourget

I was trying to integrate a varint32 type (like https://github.com/Smerity/govarint/blob/master/govarint.go#L188:6 ..) by adding a type to types.go but I see a Custom declaration needs a Size() which returns a constant..

Do you think it would be easy to modify the lib to support a varint32 type? The size of the read is never defined beforehand.. it could be one byte, two, three, etc..

thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions