func (db *DB) readRecordCity(res *Result, off uint32) error {
	pos, err := db.readUint32(db.getIPV4ByteOffset("city", off) - 1)
	if err != nil {
		return err
	}
	city, err := db.readStr(pos)
	if err != nil {
		return err
	}
	if city != "" && city != "-" {
		res.City = &city
	}
	return nil
}
// reads the City field for record
reads the City field for record
// reads the City field for record
func (db *DB) readRecordCity(res *Result, off uint32) error {
	pos, err := db.readUint32(db.getIPV4ByteOffset("city", off) - 1)
	if err != nil {
		return err
	}
	city, err := db.readStr(pos)
	if err != nil {
		return err
	}
	if city != "" && city != "-" {
		res.City = &city
	}
	return nil
}
func ( db * DB ) readRecordCity ( res * Result , off uint32 ) error { pos , err := db . readUint32 ( db . getIPV4ByteOffset ( " " , off ) - 1 ) if err != nil { return err } city , err := db . readStr ( pos ) if err != nil { return err } if city != " " && city != " " { res . City = & city } return nil }
reads the City field for record
reads the City field for record