iox

package
v1.80.2 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2025 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Overview

Package iox provides types to implement io functionality.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReaderFunc

type ReaderFunc func([]byte) (int, error)

ReaderFunc implements io.Reader using the underlying function value.

func (ReaderFunc) Read

func (f ReaderFunc) Read(b []byte) (int, error)

type WriterFunc

type WriterFunc func([]byte) (int, error)

WriterFunc implements io.Writer using the underlying function value.

func (WriterFunc) Write

func (f WriterFunc) Write(b []byte) (int, error)

Jump to

Keyboard shortcuts

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