bufio

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromScanner

func FromScanner(s *bufio.Scanner, opt ...rivo.Option) rivo.Generator[[]byte]

FromScanner returns a rivo.Generator that reads from a bufio.Scanner. It's not thread-safe to use a pool size greater than 1.

func ToWriter

func ToWriter(w *bufio.Writer, opt ...rivo.Option) rivo.Transformer[[]byte, int]

ToWriter returns a rivo.Transformer that writes to a bufio.Writer. It's not thread-safe to use a pool size greater than 1.

Types

This section is empty.

Jump to

Keyboard shortcuts

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