name_segment

package
v0.0.0-...-ee7ae68 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2017 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NameSegment

type NameSegment struct {
	SegmentValue string `json:"segment"`
	// contains filtered or unexported fields
}

func CreateFromTLV

func CreateFromTLV(tlv codec.TLV) (NameSegment, error)

func New

func New(segmentType uint16, segmentString string) NameSegment

func Parse

func Parse(segmentString string) (NameSegment, error)

func (NameSegment) Children

func (ns NameSegment) Children() []codec.TLV

func (NameSegment) Length

func (ns NameSegment) Length() uint16

func (NameSegment) String

func (ns NameSegment) String() string

func (NameSegment) Type

func (ns NameSegment) Type() uint16

func (NameSegment) TypeString

func (ns NameSegment) TypeString() string

func (NameSegment) Value

func (ns NameSegment) Value() []byte

Jump to

Keyboard shortcuts

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