| 15 | const MaxDictSize = 256 |
| 16 | |
| 17 | type ScodeEncoder struct { |
| 18 | typ super.Type |
| 19 | bytes scode.Bytes |
| 20 | cmp expr.CompareFn |
| 21 | min *super.Value |
| 22 | max *super.Value |
| 23 | count uint32 |
| 24 | |
| 25 | // fields used after Encode is called |
| 26 | bytesLen uint64 |
| 27 | format uint8 |
| 28 | out []byte |
| 29 | } |
| 30 | |
| 31 | func NewScodeEncoder(typ super.Type) *ScodeEncoder { |
| 32 | return &ScodeEncoder{ |
nothing calls this directly
no outgoing calls
no test coverage detected