(v string, length uint32)
| 53 | } |
| 54 | |
| 55 | func NewConstString(v string, length uint32) *Const { |
| 56 | vec := NewString(newBytesTableWithValue([]byte(v))) |
| 57 | return &Const{vec, length} |
| 58 | } |
| 59 | |
| 60 | func NewConstIP(v netip.Addr, length uint32) *Const { |
| 61 | vec := NewIP([]netip.Addr{v}) |
no test coverage detected