helper

package
v0.0.0-buffer-leak Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Byte

func Byte(s string) []byte

func String added in v0.0.46

func String(b []byte) string

Types

type BatchKeyData added in v0.0.50

type BatchKeyData struct {
	Index int
	Size  int
}

type BatchKeyDataReader added in v0.0.50

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

func NewBatchKeyDataReader added in v0.0.50

func NewBatchKeyDataReader(s []byte, b []BatchKeyData) *BatchKeyDataReader

func (*BatchKeyDataReader) Read added in v0.0.50

func (r *BatchKeyDataReader) Read(b []byte) (n int, err error)

func (*BatchKeyDataReader) Reset added in v0.0.50

func (r *BatchKeyDataReader) Reset(s []byte, b []BatchKeyData)

Jump to

Keyboard shortcuts

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