(t Type)
| 71 | func NewIP(a netip.Addr) Value { return NewValue(TypeIP, EncodeIP(a)) } |
| 72 | func NewNet(p netip.Prefix) Value { return NewValue(TypeNet, EncodeNet(p)) } |
| 73 | func NewTypeValue(t Type) Value { return NewValue(TypeType, EncodeTypeValue(t)) } |
| 74 | |
| 75 | func boolToUint64(b bool) uint64 { |
| 76 | if b { |
no test coverage detected