buffer

package
v0.0.0-...-2f646e5 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2019 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bytes

type Bytes []byte

A Bytes is a variable-sized buffer of bytes with Read and Write methods. The zero value for Bytes is an empty buffer ready to use.

func (*Bytes) Read

func (b *Bytes) Read(p []byte) (int, error)

Read reads up to len(p) bytes into p from the Bytes.

func (*Bytes) Write

func (b *Bytes) Write(p []byte) (int, error)

Write writes len(p) bytes from p to the Bytes.

Jump to

Keyboard shortcuts

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