Skip to content

small buffer #6

@fanatid

Description

@fanatid

API docs says nothing about what encode/decode should to do when buffer is too small.
Most of modules that uses this interface throwing errors (for example: buffer.readUInt32BE could throw RangeError), but varint has another behavior
Related issue in varint: chrisdickinson/varint#13

cc @chrisdickinson

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