bytes

package
v0.1.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 10, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UnsafeToString added in v0.1.11

func UnsafeToString(b []byte) string

UnsafeToString 高性能转换

Types

type ByteBuffer added in v0.1.8

type ByteBuffer struct {
	// contains filtered or unexported fields
}

func MakeByteBuffer added in v0.1.8

func MakeByteBuffer(buffer []byte) ByteBuffer

func (*ByteBuffer) Bytes added in v0.1.8

func (bb *ByteBuffer) Bytes() []byte

func (*ByteBuffer) Close added in v0.1.9

func (bb *ByteBuffer) Close() error

func (*ByteBuffer) Len added in v0.1.8

func (bb *ByteBuffer) Len() int

func (*ByteBuffer) Position added in v0.1.8

func (bb *ByteBuffer) Position() int

func (*ByteBuffer) Read added in v0.1.8

func (bb *ByteBuffer) Read(buffer []byte) (int, error)

func (*ByteBuffer) Reset added in v0.1.8

func (bb *ByteBuffer) Reset()

func (*ByteBuffer) Seek added in v0.1.8

func (bb *ByteBuffer) Seek(offset int64, whence int) (int64, error)

func (*ByteBuffer) String added in v0.1.9

func (bb *ByteBuffer) String() string

func (*ByteBuffer) Write added in v0.1.8

func (bb *ByteBuffer) Write(buffer []byte) (int, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL