nodeField reads a uint32 field from node i at the given field offset.
(i int, field int)
| 105 | |
| 106 | // nodeField reads a uint32 field from node i at the given field offset. |
| 107 | func (d *astDecoder) nodeField(i int, field int) uint32 { |
| 108 | return readLE32(d.raw, int(d.nodeOff)+i*NodeSize+field) |
| 109 | } |
| 110 | |
| 111 | func (d *astDecoder) getString(idx uint32) string { |
| 112 | offBase := int(d.strTable) + int(idx)*4 |
no test coverage detected