Documentation ¶
Overview ¶
Package bytez provides utilities for working with byte slices. It aims to extend the standard library bytes package with additional functionality.
Index ¶
- type Buffer
- func (b *Buffer) Available() int
- func (b *Buffer) AvailableBuffer() []byte
- func (b *Buffer) Bytes() []byte
- func (b *Buffer) Cap() int
- func (b *Buffer) Grow(n int)
- func (b *Buffer) Len() int
- func (b *Buffer) Next(n int) []byte
- func (b *Buffer) Print(args ...any)
- func (b *Buffer) PrintBytes(p []byte)
- func (b *Buffer) Printf(format string, args ...any)
- func (b *Buffer) Println(args ...any)
- func (b *Buffer) Read(p []byte) (n int, err error)
- func (b *Buffer) ReadByte() (byte, error)
- func (b *Buffer) ReadBytes(delim byte) (line []byte, err error)
- func (b *Buffer) ReadFrom(r io.Reader) (n int64, err error)
- func (b *Buffer) ReadRune() (r rune, size int, err error)
- func (b *Buffer) ReadString(delim byte) (line string, err error)
- func (b *Buffer) Reset()
- func (b *Buffer) String() string
- func (b *Buffer) Truncate(n int)
- func (b *Buffer) UnreadByte() error
- func (b *Buffer) UnreadRune() error
- func (b *Buffer) Write(p []byte) (n int, err error)
- func (b *Buffer) WriteByte(c byte) error
- func (b *Buffer) WriteByteZ(c byte)
- func (b *Buffer) WriteRune(r rune) (n int, err error)
- func (b *Buffer) WriteRuneZ(r rune) int
- func (b *Buffer) WriteString(s string) (n int, err error)
- func (b *Buffer) WriteStringZ(s string) int
- func (b *Buffer) WriteTo(w io.Writer) (n int64, err error)
- func (b *Buffer) WriteZ(p []byte) int
- type Bytes
- func (b Bytes) Available() int
- func (b Bytes) Bytes() []byte
- func (b Bytes) Cap() int
- func (b *Bytes) Grow(n int)
- func (b Bytes) Len() int
- func (b *Bytes) Print(args ...any)
- func (b *Bytes) PrintBytes(p []byte)
- func (b *Bytes) Printf(format string, args ...any)
- func (b *Bytes) Println(args ...any)
- func (b *Bytes) Reset()
- func (b Bytes) String() string
- func (b *Bytes) Write(p []byte) (n int, err error)
- func (b *Bytes) WriteByte(c byte) error
- func (b *Bytes) WriteByteZ(c byte)
- func (b *Bytes) WriteRune(r rune) (n int, err error)
- func (b *Bytes) WriteRuneZ(r rune) int
- func (b *Bytes) WriteString(s string) (n int, err error)
- func (b *Bytes) WriteStringZ(s string) int
- func (b Bytes) WriteTo(w io.Writer) (n int64, err error)
- func (b *Bytes) WriteZ(p []byte) int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Buffer ¶
func (*Buffer) AvailableBuffer ¶
func (*Buffer) PrintBytes ¶
func (*Buffer) UnreadByte ¶
func (*Buffer) UnreadRune ¶
func (*Buffer) WriteByteZ ¶
func (*Buffer) WriteRuneZ ¶
func (*Buffer) WriteStringZ ¶
type Bytes ¶ added in v0.1.2
type Bytes []byte
func (*Bytes) PrintBytes ¶ added in v0.1.2
func (*Bytes) WriteByteZ ¶ added in v0.1.2
func (*Bytes) WriteRuneZ ¶ added in v0.1.2
func (*Bytes) WriteString ¶ added in v0.1.2
func (*Bytes) WriteStringZ ¶ added in v0.1.2
Click to show internal directories.
Click to hide internal directories.