type typeUnit … // Parse a .debug_types section. func (d *Data) parseTypes(name string, types []byte) error { … } // Return the type for a type signature. func (d *Data) sigToType(sig uint64) (Type, error) { … } type typeUnitReader … // Seek to a new position in the type unit. func (tur *typeUnitReader) Seek(off Offset) { … } // AddressSize returns the size in bytes of addresses in the current type unit. func (tur *typeUnitReader) AddressSize() int { … } // Next reads the next [Entry] from the type unit. func (tur *typeUnitReader) Next() (*Entry, error) { … } // clone returns a new reader for the type unit. func (tur *typeUnitReader) clone() typeReader { … } // offset returns the current offset. func (tur *typeUnitReader) offset() Offset { … }