"Fossies" - the Fresh Open Source Software archive

Member "redland/docs/api/r2828.html" of archive amaya-fullsrc-11.4.4.tgz:


Caution: In this restricted "Fossies" environment the current HTML page may not be correctly presentated and may have some non-functional links. Alternatively you can here view or download the uninterpreted source code. That can be also achieved for any archive member file by clicking within an archive contents listing on the first character of the file(path) respectively on the according byte size field.

librdf_statement_encode

Name

librdf_statement_encode --  Serialise a statement into a buffer

Synopsis

size_t librdf_statement_encode (librdf_statement* statement, unsigned char * buffer, size_t length);

Arguments

statement

the statement to serialise

buffer

the buffer to use

length

buffer size

Description

Encodes the given statement in the buffer, which must be of sufficient size. If buffer is NULL, no work is done but the size of buffer required is returned.

Return value

the number of bytes written or 0 on failure.