(b []byte)
| 48 | } |
| 49 | |
| 50 | func newBytesTableWithValue(b []byte) BytesTable { |
| 51 | offsets := []uint32{0, uint32(len(b))} |
| 52 | return NewBytesTable(offsets, b) |
| 53 | } |
| 54 | |
| 55 | func NewConstString(v string, length uint32) *Const { |
| 56 | vec := NewString(newBytesTableWithValue([]byte(v))) |
no test coverage detected