(ext *super.TypeArray)
| 146 | } |
| 147 | |
| 148 | func (e *Encoder) encodeTypeArray(ext *super.TypeArray) (*super.TypeArray, error) { |
| 149 | inner, err := e.Encode(ext.Type) |
| 150 | if err != nil { |
| 151 | return nil, err |
| 152 | } |
| 153 | typ := e.sctx.LookupTypeArray(inner) |
| 154 | e.bytes = append(e.bytes, TypeDefArray) |
| 155 | e.bytes = binary.AppendUvarint(e.bytes, uint64(super.TypeID(inner))) |
| 156 | return typ, nil |
| 157 | } |
| 158 | |
| 159 | func (e *Encoder) encodeTypeEnum(ext *super.TypeEnum) (*super.TypeEnum, error) { |
| 160 | symbols := ext.Symbols |
no test coverage detected