exbytes

package
v0.4.43 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToReader

func ToReader(p []byte) io.Reader

func ToString

func ToString(s []byte) string

ToString 将 []byte 转换为 string,避免拷贝导致的内存开销

func ToWriterFunc

func ToWriterFunc(p []byte) func(writer io.Writer) error

func ZeroReader

func ZeroReader() io.Reader

ZeroReader return a reader can read unlimited of zeros

Types

This section is empty.

Jump to

Keyboard shortcuts

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