| 11 | ) |
| 12 | |
| 13 | type BytesEncoder struct { |
| 14 | typ super.Type |
| 15 | min, max []byte |
| 16 | bytes []byte |
| 17 | offsets *offsetsEncoder |
| 18 | |
| 19 | // These values are used for the Encode pass. |
| 20 | bytesFmt uint8 |
| 21 | bytesOut []byte |
| 22 | bytesLen uint64 |
| 23 | } |
| 24 | |
| 25 | func NewBytesEncoder(typ super.Type) *BytesEncoder { |
| 26 | return &BytesEncoder{ |
nothing calls this directly
no outgoing calls
no test coverage detected