package mem import "strconv" type Ptr uint64 const ( NullPtr Ptr = 0 ) func (p Ptr) String() string { val := strconv.FormatUint(uint64(p), 10) return "@" + val } func (p Ptr) IsNull() bool { return p == NullPtr }