bytes

package
v0.0.77 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CountIndex added in v0.0.50

func CountIndex(s, sep []byte) (c, index int)

CountIndex counts the number of non-overlapping instances of sep in s. Index returns the index of the first instance of sep in s, or -1 if sep is not present in s.

func NewIndent

func NewIndent(dst *bytes.Buffer, prefix, indent string, depth int)

func NewLine

func NewLine(dst *bytes.Buffer, prefix, indent string, depth int)

Types

This section is empty.

Jump to

Keyboard shortcuts

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