// Metadata reads metadata of an object. This function is synchronous.
// Parameter address is an address of the node to read metadata of.
// It returns the status of function call or a tuple (Result, Variant) or a metadata of the node. Data will be provided as Variant flatbuffers with metadata.fbs data type.
Metadata reads metadata of an object. This function is synchronous.
Parameter address is an address of the node to read metadata of.
It returns the status of function call or a tuple (Result, Variant) or a metadata of the node. Data will be provided as Variant flatbuffers with metadata.fbs data type.
// Metadata reads metadata of an object . This function is synchronous . // Parameter address is an address of the node to read metadata of . // It returns the status of function call or a tuple ( Result Variant ) or a metadata of the node . Data will be provided as Variant flatbuffers with metadata . fbs data type .
func (c *Client) Metadata(address string) (Result, *fbs.Metadata) {
	r, v := c.MetadataSync(address)
	defer DeleteVariant(v)
	if r != Result(0) {
		return r, nil
	}
	f := make([]byte, len(v.GetFlatbuffers()))
	copy(f, v.GetFlatbuffers())
	m := fbs.GetRootAsMetadata(f, 0)
	return r, m
}
func ( c * Client ) Metadata ( address string ) ( Result , * fbs . Metadata ) { r , v := c . MetadataSync ( address ) defer DeleteVariant ( v ) if r != Result ( 0 ) { return r , nil } f := make ( [ ] byte , len ( v . GetFlatbuffers ( ) ) ) copy ( f , v . GetFlatbuffers ( ) ) m := fbs . GetRootAsMetadata ( f , 0 ) return r , m }
Metadata reads metadata of an object.
Metadata reads metadata of an object .