buffer

package
v0.10.6 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2021 License: GPL-3.0 Imports: 0 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Buffer

type Buffer []byte

Buffer type wrap up byte slice built-in type

func (*Buffer) Append

func (b *Buffer) Append(data []byte)

Append byte slice to buffer

func (*Buffer) AppendByte

func (b *Buffer) AppendByte(data byte)

AppendByte to buffer

func (*Buffer) AppendInt

func (b *Buffer) AppendInt(val int, width int)

AppendInt to buffer

func (Buffer) Bytes

func (b Buffer) Bytes() []byte

Bytes return underlying slice data

func (*Buffer) Reset

func (b *Buffer) Reset()

Reset buffer position to start

Jump to

Keyboard shortcuts

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