proto

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RFC1738Unescape

func RFC1738Unescape(s []byte) []byte

RFC1738Unescape is a port of Squid rfc1738_unescape function. It does unescaping in-place and returns slice pointing to boundaries of unescaped bytes.

Types

type BytesReader

type BytesReader interface {
	ReadBytes(byte) ([]byte, error)
}

type ElasticLineScanner

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

func NewElasticLineScanner

func NewElasticLineScanner(reader BytesReader, delim byte) *ElasticLineScanner

func (*ElasticLineScanner) Bytes

func (els *ElasticLineScanner) Bytes() []byte

func (*ElasticLineScanner) Err

func (els *ElasticLineScanner) Err() error

func (*ElasticLineScanner) Scan

func (els *ElasticLineScanner) Scan() bool

Jump to

Keyboard shortcuts

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