package
1.0.3
Repository: https://github.com/arloliu/jsonpack.git
Documentation: pkg.go.dev

# Functions

ByteLenVarInt returns the byte length of unsigned variant integer number.
ByteLenVarUint returns the byte length of variant integer number.
Create a new Buffer with buffer size.
From returns a buffer instance with the byte slice provided.

# Variables

BufferInvalidByteCountError represents an instance in which an invalid byte count was passed to one of the buffer's methods.
BufferOverreadError represents an instance in which a read attempted to read past the buffer itself.
BufferOverwriteError represents an instance in which a write attempted to write past the buffer itself.
BufferSeekError represents an instance in which seek operation attempted to invalid position.
BufferUnderreadError represents an instance in which a read attempted to read before the buffer itself.
BufferUnderwriteError represents an instance in which a write attempted to write before the buffer itself.
BytesBufNegativeReadError represents an instance in which a reader returned a negative count from its Read method.

# Structs

Buffer is a variable-sized buffer of bytes, provides methods for generic buffer operations.
BufferError represents buffer error in buffer.