tpkt

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Read

func Read(r io.Reader) []byte

Read TPKT Packet data

func Write

func Write(w io.Writer, data []byte)

Write TPKT packet data

Types

type Header struct {
	Version  uint8
	Reserved uint8
	Length   uint16
}

Header --- TPKT Header, as specified in [T123] section 8. https://www.itu.int/rec/T-REC-T.123/en

func (*Header) Read

func (header *Header) Read(r io.Reader)

func (*Header) Write

func (header *Header) Write(w io.Writer)

Jump to

Keyboard shortcuts

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