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
Click to show internal directories.
Click to hide internal directories.