readwriteseeker

package
Version: v0.0.0-...-a5b7ecb Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2019 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReadWriteSeeker

type ReadWriteSeeker struct {
	// contains filtered or unexported fields
}

ReadWriteSeeker is an in-memory io.ReadWriteSeeker implementation

func (*ReadWriteSeeker) Close

func (rws *ReadWriteSeeker) Close() error

Close is a no-op that implements the io.Closer interface

func (*ReadWriteSeeker) Read

func (rws *ReadWriteSeeker) Read(b []byte) (n int, err error)

Read implements the io.Reader interface

func (*ReadWriteSeeker) Seek

func (rws *ReadWriteSeeker) Seek(offset int64, whence int) (int64, error)

Seek implements the io.Seeker interface

func (*ReadWriteSeeker) Write

func (rws *ReadWriteSeeker) Write(p []byte) (n int, err error)

Write implements the io.Writer interface

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL