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