Versions in this module Expand all Collapse all v1 v1.1.14 Sep 28, 2017 Changes in this version + type Reader struct + func NewReader(r io.Reader) (*Reader, error) + func (r *Reader) LinkType() layers.LinkType + func (r *Reader) ReadPacketData() (data []byte, ci gopacket.CaptureInfo, err error) + func (r *Reader) Snaplen() uint32 + func (r *Reader) String() string + type Writer struct + func NewWriter(w io.Writer) *Writer + func (w *Writer) WriteFileHeader(snaplen uint32, linktype layers.LinkType) error + func (w *Writer) WritePacket(ci gopacket.CaptureInfo, data []byte) error