nextID returns the next valid ID.
()
| 174 | |
| 175 | // nextID returns the next valid ID. |
| 176 | func (es *encodeState) nextID() objectID { |
| 177 | es.lastID++ |
| 178 | return objectID(es.lastID) |
| 179 | } |
| 180 | |
| 181 | // dummyAddr points to the dummy zero-sized address. |
| 182 | var dummyAddr = reflect.ValueOf(new(struct{})).Pointer() |