Documentation ¶
Overview ¶
Code generated by github.com/skycoin/skyencoder. DO NOT EDIT.
Index ¶
- Variables
- func DecodeSkyGroup(buf []byte, obj *SkyGroup) (int, error)
- func EncodeSizeSkyGroup(obj *SkyGroup) int
- func EncodeSkyGroup(buf []byte, obj *SkyGroup) error
- func FlatBufferColorGroupAddCgId(builder *flatbuffers.Builder, cgId int32)
- func FlatBufferColorGroupAddColors(builder *flatbuffers.Builder, colors flatbuffers.UOffsetT)
- func FlatBufferColorGroupAddName(builder *flatbuffers.Builder, name flatbuffers.UOffsetT)
- func FlatBufferColorGroupEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func FlatBufferColorGroupStart(builder *flatbuffers.Builder)
- func FlatBufferColorGroupStartColorsVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- type ColferColorGroup
- type ColferError
- type ColferMax
- type ColferTail
- type ColorGroup
- func (x *ColorGroup) CodecDecodeSelf(d *codec1978.Decoder)
- func (x *ColorGroup) CodecEncodeSelf(e *codec1978.Encoder)
- func (colorGroup *ColorGroup) MarshalBson(buf *bson.ChunkedWriter, key string)
- func (z *ColorGroup) MarshalMsg(b []byte) (o []byte, err error)
- func (z *ColorGroup) Msgsize() (s int)
- func (colorGroup *ColorGroup) UnmarshalBson(buf *bytes.Buffer, kind byte)
- func (z *ColorGroup) UnmarshalMsg(bts []byte) (o []byte, err error)
- type EColorGroup
- type FColorGroup
- type FileZebrapack_data
- type FlatBufferColorGroup
- func (rcv *FlatBufferColorGroup) CgId() int32
- func (rcv *FlatBufferColorGroup) Colors(j int) []byte
- func (rcv *FlatBufferColorGroup) ColorsLength() int
- func (rcv *FlatBufferColorGroup) Init(buf []byte, i flatbuffers.UOffsetT)
- func (rcv *FlatBufferColorGroup) MutateCgId(n int32) bool
- func (rcv *FlatBufferColorGroup) Name() []byte
- func (rcv *FlatBufferColorGroup) Table() flatbuffers.Table
- type GencodeColorGroup
- type GogoProtoColorGroup
- func (*GogoProtoColorGroup) Descriptor() ([]byte, []int)
- func (m *GogoProtoColorGroup) GetColors() []string
- func (m *GogoProtoColorGroup) GetId() int32
- func (m *GogoProtoColorGroup) GetName() string
- func (m *GogoProtoColorGroup) Marshal() (dAtA []byte, err error)
- func (m *GogoProtoColorGroup) MarshalTo(dAtA []byte) (int, error)
- func (*GogoProtoColorGroup) ProtoMessage()
- func (m *GogoProtoColorGroup) Reset()
- func (m *GogoProtoColorGroup) Size() (n int)
- func (m *GogoProtoColorGroup) String() string
- func (m *GogoProtoColorGroup) Unmarshal(dAtA []byte) error
- func (m *GogoProtoColorGroup) XXX_DiscardUnknown()
- func (m *GogoProtoColorGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GogoProtoColorGroup) XXX_Merge(src proto.Message)
- func (m *GogoProtoColorGroup) XXX_Size() int
- func (m *GogoProtoColorGroup) XXX_Unmarshal(b []byte) error
- type ProtoColorGroup
- func (*ProtoColorGroup) Descriptor() ([]byte, []int)
- func (m *ProtoColorGroup) GetColors() []string
- func (m *ProtoColorGroup) GetId() int32
- func (m *ProtoColorGroup) GetName() string
- func (*ProtoColorGroup) ProtoMessage()
- func (m *ProtoColorGroup) Reset()
- func (m *ProtoColorGroup) String() string
- func (m *ProtoColorGroup) XXX_DiscardUnknown()
- func (m *ProtoColorGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ProtoColorGroup) XXX_Merge(src proto.Message)
- func (m *ProtoColorGroup) XXX_Size() int
- func (m *ProtoColorGroup) XXX_Unmarshal(b []byte) error
- type SkyGroup
- type ThriftColorGroup
- func (p *ThriftColorGroup) GetColors() []string
- func (p *ThriftColorGroup) GetID() int32
- func (p *ThriftColorGroup) GetName() string
- func (p *ThriftColorGroup) Read(iprot thrift.TProtocol) error
- func (p *ThriftColorGroup) ReadField1(iprot thrift.TProtocol) error
- func (p *ThriftColorGroup) ReadField2(iprot thrift.TProtocol) error
- func (p *ThriftColorGroup) ReadField3(iprot thrift.TProtocol) error
- func (p *ThriftColorGroup) String() string
- func (p *ThriftColorGroup) Write(oprot thrift.TProtocol) error
- type ZColorGroup
- func (z *ZColorGroup) DecodeMsg(dc *msgp.Reader) (err error)
- func (z *ZColorGroup) EncodeMsg(en *msgp.Writer) (err error)
- func (z *ZColorGroup) MarshalMsg(b []byte) (o []byte, err error)
- func (z *ZColorGroup) Msgsize() (s int)
- func (z *ZColorGroup) UnmarshalMsg(bts []byte) (o []byte, err error)
- func (z *ZColorGroup) UnmarshalMsgWithCfg(bts []byte, cfg *msgp.RuntimeConfig) (o []byte, err error)
Constants ¶
This section is empty.
Variables ¶
var ( // ColferSizeMax is the upper limit for serial byte sizes. ColferSizeMax = 16 * 1024 * 1024 // ColferListMax is the upper limit for the number of elements in a list. ColferListMax = 64 * 1024 )
Colfer configuration attributes
var ( ErrInvalidLengthMygogo = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMygogo = fmt.Errorf("proto: integer overflow") )
var GoUnusedProtection__ int
Functions ¶
func DecodeSkyGroup ¶
DecodeSkyGroup decodes an object of type SkyGroup from the buffer in encoder.Decoder. Returns the number of bytes used from the buffer to decode the object.
func EncodeSizeSkyGroup ¶
EncodeSizeSkyGroup computes the size of an encoded object of type SkyGroup
func EncodeSkyGroup ¶
EncodeSkyGroup encodes an object of type SkyGroup to the buffer in encoder.Encoder. The buffer must be large enough to encode the object, otherwise an error is returned.
func FlatBufferColorGroupAddCgId ¶
func FlatBufferColorGroupAddCgId(builder *flatbuffers.Builder, cgId int32)
func FlatBufferColorGroupAddColors ¶
func FlatBufferColorGroupAddColors(builder *flatbuffers.Builder, colors flatbuffers.UOffsetT)
func FlatBufferColorGroupAddName ¶
func FlatBufferColorGroupAddName(builder *flatbuffers.Builder, name flatbuffers.UOffsetT)
func FlatBufferColorGroupEnd ¶
func FlatBufferColorGroupEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
func FlatBufferColorGroupStart ¶
func FlatBufferColorGroupStart(builder *flatbuffers.Builder)
func FlatBufferColorGroupStartColorsVector ¶
func FlatBufferColorGroupStartColorsVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
Types ¶
type ColferColorGroup ¶
func (*ColferColorGroup) MarshalBinary ¶
func (o *ColferColorGroup) MarshalBinary() (data []byte, err error)
MarshalBinary encodes o as Colfer conform encoding.BinaryMarshaler. The error return option is gosercomp.ColferMax.
func (*ColferColorGroup) MarshalLen ¶
func (o *ColferColorGroup) MarshalLen() (int, error)
MarshalLen returns the Colfer serial byte size. The error return option is gosercomp.ColferMax.
func (*ColferColorGroup) MarshalTo ¶
func (o *ColferColorGroup) MarshalTo(buf []byte) int
MarshalTo encodes o as Colfer into buf and returns the number of bytes written. If the buffer is too small, MarshalTo will panic.
func (*ColferColorGroup) Unmarshal ¶
func (o *ColferColorGroup) Unmarshal(data []byte) (int, error)
Unmarshal decodes data as Colfer and returns the number of bytes read. The error return options are io.EOF, gosercomp.ColferError and gosercomp.ColferMax.
func (*ColferColorGroup) UnmarshalBinary ¶
func (o *ColferColorGroup) UnmarshalBinary(data []byte) error
UnmarshalBinary decodes data as Colfer conform encoding.BinaryUnmarshaler. The error return options are io.EOF, gosercomp.ColferError, gosercomp.ColferTail and gosercomp.ColferMax.
type ColorGroup ¶
type ColorGroup struct { Id int `json:"id" xml:"id,attr" msg:"id"` Name string `json:"name" xml:"name" msg:"name"` Colors []string `json:"colors" xml:"colors" msg:"colors"` }
func (*ColorGroup) CodecDecodeSelf ¶
func (x *ColorGroup) CodecDecodeSelf(d *codec1978.Decoder)
func (*ColorGroup) CodecEncodeSelf ¶
func (x *ColorGroup) CodecEncodeSelf(e *codec1978.Encoder)
func (*ColorGroup) MarshalBson ¶
func (colorGroup *ColorGroup) MarshalBson(buf *bson.ChunkedWriter, key string)
MarshalBson bson-encodes ColorGroup.
func (*ColorGroup) MarshalMsg ¶
func (z *ColorGroup) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (*ColorGroup) Msgsize ¶
func (z *ColorGroup) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*ColorGroup) UnmarshalBson ¶
func (colorGroup *ColorGroup) UnmarshalBson(buf *bytes.Buffer, kind byte)
UnmarshalBson bson-decodes into ColorGroup.
func (*ColorGroup) UnmarshalMsg ¶
func (z *ColorGroup) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler
type EColorGroup ¶
type EColorGroup struct { Id int `json:"id" xml:"id,attr" msg:"id"` Name string `json:"name" xml:"name" msg:"name"` Colors []string `json:"colors" xml:"colors" msg:"colors"` }
func (EColorGroup) MarshalEasyJSON ¶
func (v EColorGroup) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (EColorGroup) MarshalJSON ¶
func (v EColorGroup) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*EColorGroup) UnmarshalEasyJSON ¶
func (v *EColorGroup) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*EColorGroup) UnmarshalJSON ¶
func (v *EColorGroup) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type FColorGroup ¶
type FColorGroup struct { Id int `json:"id" xml:"id,attr" msg:"id"` Name string `json:"name" xml:"name" msg:"name"` Colors []string `json:"colors" xml:"colors" msg:"colors"` }
func (*FColorGroup) MarshalJSON ¶
func (j *FColorGroup) MarshalJSON() ([]byte, error)
MarshalJSON marshal bytes to json - template
func (*FColorGroup) MarshalJSONBuf ¶
func (j *FColorGroup) MarshalJSONBuf(buf fflib.EncodingBuffer) error
MarshalJSONBuf marshal buff to json - template
func (*FColorGroup) UnmarshalJSON ¶
func (j *FColorGroup) UnmarshalJSON(input []byte) error
UnmarshalJSON umarshall json - template of ffjson
func (*FColorGroup) UnmarshalJSONFFLexer ¶
func (j *FColorGroup) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
UnmarshalJSONFFLexer fast json unmarshall - template ffjson
type FileZebrapack_data ¶
type FileZebrapack_data struct{}
FileZebrapack_data holds ZebraPack schema from file 'zebrapack_data.go'
func (FileZebrapack_data) ZebraSchemaInJsonCompact ¶
func (FileZebrapack_data) ZebraSchemaInJsonCompact() []byte
ZebraSchemaInJsonCompact provides the ZebraPack Schema in compact JSON format, length 613 bytes
func (FileZebrapack_data) ZebraSchemaInJsonPretty ¶
func (FileZebrapack_data) ZebraSchemaInJsonPretty() []byte
ZebraSchemaInJsonPretty provides the ZebraPack Schema in pretty JSON format, length 1569 bytes
func (FileZebrapack_data) ZebraSchemaInMsgpack2Format ¶
func (FileZebrapack_data) ZebraSchemaInMsgpack2Format() []byte
ZebraSchemaInMsgpack2Format provides the ZebraPack Schema in msgpack2 format, length 483 bytes
type FlatBufferColorGroup ¶
type FlatBufferColorGroup struct {
// contains filtered or unexported fields
}
func GetRootAsFlatBufferColorGroup ¶
func GetRootAsFlatBufferColorGroup(buf []byte, offset flatbuffers.UOffsetT) *FlatBufferColorGroup
func (*FlatBufferColorGroup) CgId ¶
func (rcv *FlatBufferColorGroup) CgId() int32
func (*FlatBufferColorGroup) Colors ¶
func (rcv *FlatBufferColorGroup) Colors(j int) []byte
func (*FlatBufferColorGroup) ColorsLength ¶
func (rcv *FlatBufferColorGroup) ColorsLength() int
func (*FlatBufferColorGroup) Init ¶
func (rcv *FlatBufferColorGroup) Init(buf []byte, i flatbuffers.UOffsetT)
func (*FlatBufferColorGroup) MutateCgId ¶
func (rcv *FlatBufferColorGroup) MutateCgId(n int32) bool
func (*FlatBufferColorGroup) Name ¶
func (rcv *FlatBufferColorGroup) Name() []byte
func (*FlatBufferColorGroup) Table ¶
func (rcv *FlatBufferColorGroup) Table() flatbuffers.Table
type GencodeColorGroup ¶
func (*GencodeColorGroup) Size ¶
func (d *GencodeColorGroup) Size() (s uint64)
type GogoProtoColorGroup ¶
type GogoProtoColorGroup struct { Id int32 `protobuf:"varint,1,req,name=id" json:"id"` Name string `protobuf:"bytes,2,req,name=name" json:"name"` Colors []string `protobuf:"bytes,3,rep,name=colors" json:"colors,omitempty"` }
func (*GogoProtoColorGroup) Descriptor ¶
func (*GogoProtoColorGroup) Descriptor() ([]byte, []int)
func (*GogoProtoColorGroup) GetColors ¶
func (m *GogoProtoColorGroup) GetColors() []string
func (*GogoProtoColorGroup) GetId ¶
func (m *GogoProtoColorGroup) GetId() int32
func (*GogoProtoColorGroup) GetName ¶
func (m *GogoProtoColorGroup) GetName() string
func (*GogoProtoColorGroup) Marshal ¶
func (m *GogoProtoColorGroup) Marshal() (dAtA []byte, err error)
func (*GogoProtoColorGroup) MarshalTo ¶
func (m *GogoProtoColorGroup) MarshalTo(dAtA []byte) (int, error)
func (*GogoProtoColorGroup) ProtoMessage ¶
func (*GogoProtoColorGroup) ProtoMessage()
func (*GogoProtoColorGroup) Reset ¶
func (m *GogoProtoColorGroup) Reset()
func (*GogoProtoColorGroup) Size ¶
func (m *GogoProtoColorGroup) Size() (n int)
func (*GogoProtoColorGroup) String ¶
func (m *GogoProtoColorGroup) String() string
func (*GogoProtoColorGroup) Unmarshal ¶
func (m *GogoProtoColorGroup) Unmarshal(dAtA []byte) error
func (*GogoProtoColorGroup) XXX_DiscardUnknown ¶
func (m *GogoProtoColorGroup) XXX_DiscardUnknown()
func (*GogoProtoColorGroup) XXX_Marshal ¶
func (m *GogoProtoColorGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GogoProtoColorGroup) XXX_Merge ¶
func (dst *GogoProtoColorGroup) XXX_Merge(src proto.Message)
func (*GogoProtoColorGroup) XXX_Size ¶
func (m *GogoProtoColorGroup) XXX_Size() int
func (*GogoProtoColorGroup) XXX_Unmarshal ¶
func (m *GogoProtoColorGroup) XXX_Unmarshal(b []byte) error
type ProtoColorGroup ¶
type ProtoColorGroup struct { Id *int32 `protobuf:"varint,1,req,name=id" json:"id,omitempty"` Name *string `protobuf:"bytes,2,req,name=name" json:"name,omitempty"` Colors []string `protobuf:"bytes,3,rep,name=colors" json:"colors,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ProtoColorGroup) Descriptor ¶
func (*ProtoColorGroup) Descriptor() ([]byte, []int)
func (*ProtoColorGroup) GetColors ¶
func (m *ProtoColorGroup) GetColors() []string
func (*ProtoColorGroup) GetId ¶
func (m *ProtoColorGroup) GetId() int32
func (*ProtoColorGroup) GetName ¶
func (m *ProtoColorGroup) GetName() string
func (*ProtoColorGroup) ProtoMessage ¶
func (*ProtoColorGroup) ProtoMessage()
func (*ProtoColorGroup) Reset ¶
func (m *ProtoColorGroup) Reset()
func (*ProtoColorGroup) String ¶
func (m *ProtoColorGroup) String() string
func (*ProtoColorGroup) XXX_DiscardUnknown ¶
func (m *ProtoColorGroup) XXX_DiscardUnknown()
func (*ProtoColorGroup) XXX_Marshal ¶
func (m *ProtoColorGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProtoColorGroup) XXX_Merge ¶
func (dst *ProtoColorGroup) XXX_Merge(src proto.Message)
func (*ProtoColorGroup) XXX_Size ¶
func (m *ProtoColorGroup) XXX_Size() int
func (*ProtoColorGroup) XXX_Unmarshal ¶
func (m *ProtoColorGroup) XXX_Unmarshal(b []byte) error
type ThriftColorGroup ¶
type ThriftColorGroup struct { ID int32 `thrift:"id,1" db:"id" json:"id"` Name string `thrift:"name,2" db:"name" json:"name"` Colors []string `thrift:"colors,3" db:"colors" json:"colors"` }
Attributes:
- ID
- Name
- Colors
func NewThriftColorGroup ¶
func NewThriftColorGroup() *ThriftColorGroup
func (*ThriftColorGroup) GetColors ¶
func (p *ThriftColorGroup) GetColors() []string
func (*ThriftColorGroup) GetID ¶
func (p *ThriftColorGroup) GetID() int32
func (*ThriftColorGroup) GetName ¶
func (p *ThriftColorGroup) GetName() string
func (*ThriftColorGroup) ReadField1 ¶
func (p *ThriftColorGroup) ReadField1(iprot thrift.TProtocol) error
func (*ThriftColorGroup) ReadField2 ¶
func (p *ThriftColorGroup) ReadField2(iprot thrift.TProtocol) error
func (*ThriftColorGroup) ReadField3 ¶
func (p *ThriftColorGroup) ReadField3(iprot thrift.TProtocol) error
func (*ThriftColorGroup) String ¶
func (p *ThriftColorGroup) String() string
type ZColorGroup ¶
type ZColorGroup struct { Id int `json:"id" xml:"id,attr" msg:"id" zid:"0"` Name string `json:"name" xml:"name" msg:"name" zid:"1"` Colors []string `json:"colors" xml:"colors" msg:"colors" zid:"2"` }
func (*ZColorGroup) DecodeMsg ¶
func (z *ZColorGroup) DecodeMsg(dc *msgp.Reader) (err error)
DecodeMsg implements msgp.Decodable We treat empty fields as if we read a Nil from the wire.
func (*ZColorGroup) EncodeMsg ¶
func (z *ZColorGroup) EncodeMsg(en *msgp.Writer) (err error)
EncodeMsg implements msgp.Encodable
func (*ZColorGroup) MarshalMsg ¶
func (z *ZColorGroup) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (*ZColorGroup) Msgsize ¶
func (z *ZColorGroup) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*ZColorGroup) UnmarshalMsg ¶
func (z *ZColorGroup) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler
func (*ZColorGroup) UnmarshalMsgWithCfg ¶
func (z *ZColorGroup) UnmarshalMsgWithCfg(bts []byte, cfg *msgp.RuntimeConfig) (o []byte, err error)
Source Files ¶
- FlatBufferColorGroup.go
- GoUnusedProtection__.go
- bson_data.go
- colorgroup-consts.go
- colorgroup.go
- colorgroup_colfer.go
- colorgroup_sky.go
- constants.go
- data.go
- data_codec.go
- easyjson_data.go
- easyjson_data_easyjson.go
- ffjson_data.go
- ffjson_data_ffjson.go
- gencode.schema.gen.go
- msgp_gen.go
- mygogo.pb.go
- protobuf.pb.go
- sky_group_skyencoder.go
- zebrapack_data.go
- zebrapack_data_gen.go