Versions in this module Expand all Collapse all v0 v0.1.22 Jul 26, 2024 Changes in this version + func Dump(buf []byte) string + func DumpSize(size int, buf []byte) string + func HexDump(buf []byte) string + func HexDumpSize(size int, buf []byte) string + func Int32Intersect(nums1 Int32Slice, nums2 Int32Slice) []int32 + func Int64Intersect(nums1 Int64Slice, nums2 Int64Slice) []int64 + func IsAlNum(c byte) bool + func IsLetter(b byte) bool + func IsLower(b byte) bool + func IsNumber(c byte) bool + func IsUpper(b byte) bool + func ReadBytes(dbuf *BufferInput) (b []byte, err error) + func ReadString(dbuf *BufferInput) (s string, err error) + func WriteBytes(x *BufferOutput, b []byte) + func WriteString(x *BufferOutput, s string) + type BufferInput struct + func NewBufferInput(buf []byte) *BufferInput + func (m *BufferInput) Buf() ([]byte, error) + func (m *BufferInput) Byte() byte + func (m *BufferInput) Bytes(size int) []byte + func (m *BufferInput) Double() float64 + func (m *BufferInput) Dump() string + func (m *BufferInput) DumpSize(size int) string + func (m *BufferInput) Error() error + func (m *BufferInput) Int16() int16 + func (m *BufferInput) Int32() int32 + func (m *BufferInput) Int64() int64 + func (m *BufferInput) UInt16() uint16 + func (m *BufferInput) UInt32() uint32 + func (m *BufferInput) UInt64() uint64 + type BufferOutput struct + func NewBufferOutput(cap int) *BufferOutput + func (e *BufferOutput) Buf() []byte + func (e *BufferOutput) Byte(s byte) + func (e *BufferOutput) ByteSize() int + func (e *BufferOutput) Bytes(s []byte) + func (e *BufferOutput) Double(s float64) + func (e *BufferOutput) Int16(s int16) + func (e *BufferOutput) Int32(s int32) + func (e *BufferOutput) Int64(s int64) + func (e *BufferOutput) Len() int + func (e *BufferOutput) UInt16(s uint16) + func (e *BufferOutput) UInt32(s uint32) + func (e *BufferOutput) UInt64(s uint64) + type Int32Slice []int32 + func (p Int32Slice) Len() int + func (p Int32Slice) Less(i, j int) bool + func (p Int32Slice) Swap(i, j int) + type Int64Slice []int64 + func (p Int64Slice) Len() int + func (p Int64Slice) Less(i, j int) bool + func (p Int64Slice) Swap(i, j int)