package
1.1.19
Repository: https://github.com/google/gopacket.git
Documentation: pkg.go.dev

# Functions

DiscardBytesToEOF will read in all bytes from a Reader until it encounters an io.EOF, then return the number of bytes.
DiscardBytesToFirstError will read in all bytes up to the first error reported by the given reader, then return the number of bytes discarded and the error encountered.
NewReaderStream returns a new ReaderStream object.

# Variables

DataLost is returned by the ReaderStream's Read function when it encounters a Reassembly with Skip != 0.

# Structs

ReaderStream implements both tcpassembly.Stream and io.Reader.
ReaderStreamOptions provides user-resettable options for a ReaderStream.