MCPcopy Create free account
hub / github.com/chronoxor/FastBinaryEncoding / NewStructList

Function NewStructList

projects/Go/proto/test/StructList.go:53–66  ·  view source on GitHub ↗

Create a new StructList struct

()

Source from the content-addressed store, hash-verified

51
52// Create a new StructList struct
53func NewStructList() *StructList {
54 return &StructList{
55 F1: make([]byte, 0),
56 F2: make([]*byte, 0),
57 F3: make([][]byte, 0),
58 F4: make([]*[]byte, 0),
59 F5: make([]EnumSimple, 0),
60 F6: make([]*EnumSimple, 0),
61 F7: make([]FlagsSimple, 0),
62 F8: make([]*FlagsSimple, 0),
63 F9: make([]StructSimple, 0),
64 F10: make([]*StructSimple, 0),
65 }
66}
67
68// Create a new StructList struct from the given field values
69func NewStructListFromFieldValues(F1 []byte, F2 []*byte, F3 [][]byte, F4 []*[]byte, F5 []EnumSimple, F6 []*EnumSimple, F7 []FlagsSimple, F8 []*FlagsSimple, F9 []StructSimple, F10 []*StructSimple) *StructList {

Callers 7

DeserializeMethod · 0.85
DeserializeValueMethod · 0.85
GetMethod · 0.85
NewStructListFromJSONFunction · 0.85
DeserializeMethod · 0.85
DeserializeValueMethod · 0.85
GetMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected