stream

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MaskBytes added in v1.1.5

func MaskBytes(byteArray []byte, keywords [][]byte, mask []byte) []byte

MaskBytes 将byteArray中的关键字替换为mask

func MaskKeywords added in v1.1.5

func MaskKeywords(reader io.Reader, writer io.Writer, words [][]byte, mask []byte) error

MaskKeywords 从reader中读取数据,将words中的关键字替换为mask,并写入writer

func Replace

func Replace(reader io.Reader, writer io.Writer, old, new []byte) error

Replace 从reader中读取数据,替换old为new,并写入writer

Types

This section is empty.

Jump to

Keyboard shortcuts

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