util

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2023 License: ISC Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NullInputPadder

type NullInputPadder struct {
	Reader io.Reader
}

NullInputPadder pads the final short read with null bytes.

func (NullInputPadder) Read

func (i NullInputPadder) Read(p []byte) (n int, err error)

Read implements io.Reader.

type NullReader

type NullReader struct{}

NullReader is an io.Reader that always returns nulls.

func (NullReader) Read

func (i NullReader) Read(p []byte) (n int, err error)

Read implements io.Reader.

Jump to

Keyboard shortcuts

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