bcof

package
v0.0.0-...-3be6dbe Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type BCOFData

type BCOFData struct {
	Id        uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Rsize     uint32 `protobuf:"varint,2,opt,name=rsize,proto3" json:"rsize,omitempty"`
	Signature string `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
	Payload   []byte `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

func NewBCOFData

func NewBCOFData(rsize uint32) *BCOFData

func (*BCOFData) Descriptor deprecated

func (*BCOFData) Descriptor() ([]byte, []int)

Deprecated: Use BCOFData.ProtoReflect.Descriptor instead.

func (*BCOFData) Dump

func (b *BCOFData) Dump() string

func (*BCOFData) GetId

func (x *BCOFData) GetId() uint32

func (*BCOFData) GetPayload

func (x *BCOFData) GetPayload() []byte

func (*BCOFData) GetRsize

func (x *BCOFData) GetRsize() uint32

func (*BCOFData) GetSignature

func (x *BCOFData) GetSignature() string

func (*BCOFData) ProtoMessage

func (*BCOFData) ProtoMessage()

func (*BCOFData) ProtoReflect

func (x *BCOFData) ProtoReflect() protoreflect.Message

func (*BCOFData) Reset

func (x *BCOFData) Reset()

func (*BCOFData) SetId

func (b *BCOFData) SetId(id uint32)

func (*BCOFData) SetSignature

func (b *BCOFData) SetSignature(signature string)

func (*BCOFData) String

func (x *BCOFData) String() string

type BCOFEntry

type BCOFEntry struct {
	Id        uint32               `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Rsize     uint32               `protobuf:"varint,2,opt,name=rsize,proto3" json:"rsize,omitempty"`
	Signature string               `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
	Data      []*BCOFEntrySubentry `protobuf:"bytes,4,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func NewBCOF

func NewBCOF(rsize uint32) *BCOFEntry

func (*BCOFEntry) AddData

func (b *BCOFEntry) AddData(data *BCOFData)

func (*BCOFEntry) Descriptor deprecated

func (*BCOFEntry) Descriptor() ([]byte, []int)

Deprecated: Use BCOFEntry.ProtoReflect.Descriptor instead.

func (*BCOFEntry) GetData

func (x *BCOFEntry) GetData() []*BCOFEntrySubentry

func (*BCOFEntry) GetId

func (x *BCOFEntry) GetId() uint32

func (*BCOFEntry) GetRsize

func (x *BCOFEntry) GetRsize() uint32

func (*BCOFEntry) GetSignature

func (x *BCOFEntry) GetSignature() string

func (*BCOFEntry) ProtoMessage

func (*BCOFEntry) ProtoMessage()

func (*BCOFEntry) ProtoReflect

func (x *BCOFEntry) ProtoReflect() protoreflect.Message

func (*BCOFEntry) Reset

func (x *BCOFEntry) Reset()

func (*BCOFEntry) SearchData

func (b *BCOFEntry) SearchData(s string) *BCOFData

func (*BCOFEntry) SetId

func (b *BCOFEntry) SetId(id uint32)

func (*BCOFEntry) SetSignature

func (b *BCOFEntry) SetSignature(signature string)

func (*BCOFEntry) String

func (x *BCOFEntry) String() string

type BCOFEntrySubentry

type BCOFEntrySubentry struct {

	// Types that are assignable to Pl:
	//	*BCOFEntrySubentry_Binary
	//	*BCOFEntrySubentry_Leaf
	Pl isBCOFEntrySubentry_Pl `protobuf_oneof:"pl"`
	// contains filtered or unexported fields
}

func (*BCOFEntrySubentry) Descriptor deprecated

func (*BCOFEntrySubentry) Descriptor() ([]byte, []int)

Deprecated: Use BCOFEntrySubentry.ProtoReflect.Descriptor instead.

func (*BCOFEntrySubentry) GetBinary

func (x *BCOFEntrySubentry) GetBinary() *BCOFData

func (*BCOFEntrySubentry) GetLeaf

func (x *BCOFEntrySubentry) GetLeaf() *BCOFEntry

func (*BCOFEntrySubentry) GetPl

func (m *BCOFEntrySubentry) GetPl() isBCOFEntrySubentry_Pl

func (*BCOFEntrySubentry) ProtoMessage

func (*BCOFEntrySubentry) ProtoMessage()

func (*BCOFEntrySubentry) ProtoReflect

func (x *BCOFEntrySubentry) ProtoReflect() protoreflect.Message

func (*BCOFEntrySubentry) Reset

func (x *BCOFEntrySubentry) Reset()

func (*BCOFEntrySubentry) String

func (x *BCOFEntrySubentry) String() string

type BCOFEntrySubentry_Binary

type BCOFEntrySubentry_Binary struct {
	Binary *BCOFData `protobuf:"bytes,1,opt,name=binary,proto3,oneof"`
}

type BCOFEntrySubentry_Leaf

type BCOFEntrySubentry_Leaf struct {
	Leaf *BCOFEntry `protobuf:"bytes,2,opt,name=leaf,proto3,oneof"`
}

Jump to

Keyboard shortcuts

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