Encode appends the BSUP representation of this value to the passed in argument and returns the resulting scode.Bytes (which may or may not be the same underlying buffer, as with append(), depending on its capacity)
(dst scode.Bytes)
| 164 | // argument and returns the resulting scode.Bytes (which may or may not |
| 165 | // be the same underlying buffer, as with append(), depending on its capacity) |
| 166 | func (v Value) Encode(dst scode.Bytes) scode.Bytes { |
| 167 | //XXX don't need this... |
| 168 | return scode.Append(dst, v.Bytes()) |
| 169 | } |
| 170 | |
| 171 | func (v Value) ContainerIter() scode.Iter { |
| 172 | return v.Bytes().Iter() |