bufioshim

package
v0.37.0 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2024 License: Apache-2.0 Imports: 2 Imported by: 7

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT. with command: counterfeiter -p -o /Users/pivotal/go/src/github.com/cloudfoundry/nfs-volume-release/src/code.cloudfoundry.org/goshims/bufioshim bufio BUT THEN WE MODIFIED IT SO MAKE SURE TO COPY THOSE MODIFICATIONS FORWARDS

Code generated by counterfeiter. DO NOT EDIT. with command: counterfeiter -p -o /Users/pivotal/go/src/github.com/cloudfoundry/nfs-volume-release/src/code.cloudfoundry.org/goshims/bufioshim bufio BUT THEN WE MODIFIED IT SO MAKE SURE TO COPY THOSE MODIFICATIONS FORWARDS

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bufio

type Bufio interface {
	NewReaderSize(rd io.Reader, size int) Reader
	NewReader(rd io.Reader) Reader
	NewWriterSize(w io.Writer, size int) *bufio.Writer
	NewWriter(w io.Writer) *bufio.Writer
	NewReadWriter(r *bufio.Reader, w *bufio.Writer) *bufio.ReadWriter
	NewScanner(r io.Reader) *bufio.Scanner
	ScanBytes(data []byte, atEOF bool) (advance int, token []byte, err error)
	ScanRunes(data []byte, atEOF bool) (advance int, token []byte, err error)
	ScanLines(data []byte, atEOF bool) (advance int, token []byte, err error)
	ScanWords(data []byte, atEOF bool) (advance int, token []byte, err error)
}

type BufioShim

type BufioShim struct{}

func (*BufioShim) NewReadWriter

func (sh *BufioShim) NewReadWriter(r *bufio.Reader, w *bufio.Writer) *bufio.ReadWriter

func (*BufioShim) NewReader

func (sh *BufioShim) NewReader(rd io.Reader) Reader

func (*BufioShim) NewReaderSize

func (sh *BufioShim) NewReaderSize(rd io.Reader, size int) Reader

func (*BufioShim) NewScanner

func (sh *BufioShim) NewScanner(r io.Reader) *bufio.Scanner

func (*BufioShim) NewWriter

func (sh *BufioShim) NewWriter(w io.Writer) *bufio.Writer

func (*BufioShim) NewWriterSize

func (sh *BufioShim) NewWriterSize(w io.Writer, size int) *bufio.Writer

func (*BufioShim) ScanBytes

func (sh *BufioShim) ScanBytes(data []byte, atEOF bool) (advance int, token []byte, err error)

func (*BufioShim) ScanLines

func (sh *BufioShim) ScanLines(data []byte, atEOF bool) (advance int, token []byte, err error)

func (*BufioShim) ScanRunes

func (sh *BufioShim) ScanRunes(data []byte, atEOF bool) (advance int, token []byte, err error)

func (*BufioShim) ScanWords

func (sh *BufioShim) ScanWords(data []byte, atEOF bool) (advance int, token []byte, err error)

type Reader

type Reader interface {
	ReadString(byte) (string, error)
}

type ReaderShim

type ReaderShim struct {
	Delegate *bufio.Reader
}

func (*ReaderShim) ReadString

func (r *ReaderShim) ReadString(delim byte) (string, error)

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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