(v bool, length uint32)
| 36 | ) |
| 37 | |
| 38 | func NewConstBool(v bool, length uint32) *Const { |
| 39 | if v { |
| 40 | return &Const{trueVec, length} |
| 41 | } |
| 42 | return &Const{falseVec, length} |
| 43 | } |
| 44 | |
| 45 | func NewConstBytes(v []byte, length uint32) *Const { |
| 46 | vec := NewBytes(newBytesTableWithValue(v)) |
no outgoing calls
no test coverage detected