()
| 48 | |
| 49 | func newNativeValue(t Type, x uint64) Value { return Value{t, &nativeBase, x} } |
| 50 | func (v Value) native() (uint64, bool) { return v.len, v.base == &nativeBase } |
| 51 | |
| 52 | func NewUint(t Type, u uint64) Value { return newNativeValue(t, u) } |
| 53 | func NewUint8(u uint8) Value { return newNativeValue(TypeUint8, uint64(u)) } |