flic

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: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildEncryptedFLICTreeFromChunker

func BuildEncryptedFLICTreeFromChunker(rootName name.Name, dataChunker chunker.Chunker) (*messages.MessageWrapper, []*messages.MessageWrapper)

func BuildFLICTreeFromChunker

func BuildFLICTreeFromChunker(dataChunker chunker.Chunker) (*messages.MessageWrapper, []*messages.MessageWrapper)

TODO(caw): this needs to accept a root name

Types

type FLIC

type FLIC struct {
	// contains filtered or unexported fields
}

func CreateFLICFromHashGroup

func CreateFLICFromHashGroup(group *hashgroup.HashGroup) *FLIC

func CreateFromTLV

func CreateFromTLV(topLevelTLV codec.TLV) (*FLIC, error)

func (*FLIC) AddContainer

func (f *FLIC) AddContainer(container codec.TLV)

func (FLIC) Children

func (f FLIC) Children() []codec.TLV

func (FLIC) Encode

func (f FLIC) Encode() []byte

func (*FLIC) GetContainer

func (f *FLIC) GetContainer(containerType uint16) (codec.TLV, error)

func (FLIC) GetPacketType

func (f FLIC) GetPacketType() uint16

func (FLIC) Length

func (f FLIC) Length() uint16

func (FLIC) Name

func (f FLIC) Name() *name.Name

func (FLIC) Payload

func (f FLIC) Payload() *payload.Payload

func (FLIC) PayloadType

func (f FLIC) PayloadType() uint16

func (FLIC) String

func (f FLIC) String() string

func (FLIC) Type

func (f FLIC) Type() uint16

func (FLIC) TypeString

func (f FLIC) TypeString() string

func (FLIC) Value

func (f FLIC) Value() []byte

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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