This [[Module Library|XQuery Module]] contains functions for handling ''streamable'' items.
In contrast to conventional XQuery items, streamable items may take up much less space, because they only contain a reference to the actual data. The data will not only be retrieved until the item if it is required, e.g. if data it needs to be serialized or processed by another expression. Currently, the following BaseX functions return streamable items: * [[Database Module#db:retrieve|db:retrieve]]* [[Fetch Module#fetch:binary|fetch:binary]]* [[Fetch Module#fetch:text|fetch:text]]* [[File Module#file:read-binary|file:read-binary]]* [[File Module#file:read-text|file:read-text]] The following functions are capable of processing streamed input: * [[Conversion Module#convert:binary-to-bytes|convert:binary-to-bytes]]* [[Database Module#db:store|db:store]]* [[Fetch Module#file:write-text|file:write-text]]* [[File Module#file:write-binary|file:write-binary]]
=Conventions=