(v []byte, length uint32)
| 43 | } |
| 44 | |
| 45 | func NewConstBytes(v []byte, length uint32) *Const { |
| 46 | vec := NewBytes(newBytesTableWithValue(v)) |
| 47 | return &Const{vec, length} |
| 48 | } |
| 49 | |
| 50 | func newBytesTableWithValue(b []byte) BytesTable { |
| 51 | offsets := []uint32{0, uint32(len(b))} |
no test coverage detected