func (db *DB) readRecordProxy(res *Result, off uint32) error {
	if db.positions.Proxy != 0 {
		addr, err := db.readUint32(db.getIPV4ByteOffset("proxy", off) - 1)
		if err != nil {
			return err
		}
		b, err := db.readStr(addr)
		if err != nil {
			return err
		}
		res.Proxy = proxyNameToProxyType(b)
		return nil
	}
	res.Proxy = ProxyNA
	return nil
}
// reads the Proxy field for record
reads the Proxy field for record
// reads the Proxy field for record
func (db *DB) readRecordProxy(res *Result, off uint32) error {
	if db.positions.Proxy != 0 {
		addr, err := db.readUint32(db.getIPV4ByteOffset("proxy", off) - 1)
		if err != nil {
			return err
		}
		b, err := db.readStr(addr)
		if err != nil {
			return err
		}
		res.Proxy = proxyNameToProxyType(b)
		return nil
	}
	res.Proxy = ProxyNA
	return nil
}
func ( db * DB ) readRecordProxy ( res * Result , off uint32 ) error { if db . positions . Proxy != 0 { addr , err := db . readUint32 ( db . getIPV4ByteOffset ( " " , off ) - 1 ) if err != nil { return err } b , err := db . readStr ( addr ) if err != nil { return err } res . Proxy = proxyNameToProxyType ( b ) return nil } res . Proxy = ProxyNA return nil }
reads the Proxy field for record
reads the Proxy field for record