// Find returns a reference to a binary in the database db with the same id as br, or nil if none is found
Find returns a reference to a binary in the database db with the same id as br, or nil if none is found
// Find returns a reference to a binary in the database db with the same id as br or nil if none is found
func (br *BinaryReference) Find(db *Database) *Binary {
	if db.Header.IsKdbx4() {
		return db.Content.InnerHeader.Binaries.Find(br.Value.ID)
	}
	return db.Content.Meta.Binaries.Find(br.Value.ID)
}
func ( br * BinaryReference ) Find ( db * Database ) * Binary { if db . Header . IsKdbx4 ( ) { return db . Content . InnerHeader . Binaries . Find ( br . Value . ID ) } return db . Content . Meta . Binaries . Find ( br . Value . ID ) }
Find returns a reference to a binary in the database db with the same id as br, or nil if none is found
Find returns a reference to a binary in the database db with the same id as br or nil if none is found