exbytes

package
v1.4.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReplaceAll

func ReplaceAll(src []byte, from []byte, to []byte) []byte

ReplaceAll in-place replacement 'from' to 'to' in 'src' slice

func ReplacePrefix

func ReplacePrefix(src []byte, from []byte, to []byte) []byte

ReplacePrefix in-place prefix replacement 'from' to 'to' in 'src' slice

func ReplaceSequence

func ReplaceSequence(src []byte, sequence []byte, to []byte) []byte

ReplaceSequence in-place sequence replacement 'from' to 'to' in 'src' slice

func ReplaceSuffix

func ReplaceSuffix(src []byte, from []byte, to []byte) []byte

ReplaceSuffix in-place suffix replacement 'from' to 'to' in 'src' slice

Types

This section is empty.

Jump to

Keyboard shortcuts

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