(sink *common.ZeroCopySink, intval *big.Int)
| 232 | } |
| 233 | |
| 234 | func EncodeBigInt(sink *common.ZeroCopySink, intval *big.Int) error { |
| 235 | val, err := common.I128FromBigInt(intval) |
| 236 | if err != nil { |
| 237 | return err |
| 238 | } |
| 239 | EncodeInt128(sink, val) |
| 240 | return nil |
| 241 | } |
| 242 | |
| 243 | func EncodeList(sink *common.ZeroCopySink, list []interface{}) error { |
| 244 | sink.WriteByte(ListType) |
no test coverage detected