Get returns the ith []byte in Bytes. Note that the returned byte slice is unsafe for reuse if any write operation happens. If the returned value is then Set() into another Bytes, then use Bytes.Copy instead. Note this function call is mostly inlined except in a handful of very large generated func
(i int)
| 179 | // Note this function call is mostly inlined except in a handful of very large |
| 180 | // generated functions, so we can't add the gcassert directive for it. |
| 181 | func (b *Bytes) Get(i int) []byte { |
| 182 | return b.elements[i].get(b) |
| 183 | } |
| 184 | |
| 185 | // Set sets the ith []byte in Bytes. |
| 186 | // |
no test coverage detected