common

package
v0.0.0-...-2a19a5d Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TestFrameFiles

func TestFrameFiles(t *testing.T, f func() SerDes)

Types

type SerDes

type SerDes interface {
	io.ReaderFrom
	io.WriterTo
}

type Uint16SizedByteArray

type Uint16SizedByteArray []byte

func (*Uint16SizedByteArray) ReadFrom

func (p *Uint16SizedByteArray) ReadFrom(r io.Reader) (int64, error)

func (*Uint16SizedByteArray) WriteTo

func (p *Uint16SizedByteArray) WriteTo(w io.Writer) (int64, error)

type WWN

type WWN [8]byte

func (*WWN) ReadFrom

func (s *WWN) ReadFrom(r io.Reader) (int64, error)

func (*WWN) String

func (s *WWN) String() string

func (*WWN) WriteTo

func (s *WWN) WriteTo(w io.Writer) (int64, error)

Jump to

Keyboard shortcuts

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