###User Defined Function###
_SQLite_Encode

###Description###
Binary encodes a string, number or binary data for use as BLOB in SQLite statements.

###Syntax###
#include <SQLite.au3>
_SQLite_Encode ( $vData )


###Parameters###
@@ParamTable@@
$vData
	Data To be encoded (String, Number or Binary)
@@End@@

###ReturnValue###
@@ReturnTable@@
Success:	an encoded string.
Failure:	an empty string and sets the @error flag to non-zero.
@@End@@


###Remarks###
The encoded string is already wrapped with single quotes.
For example <a href="../functions/Chr.htm">Chr(0)</a> & <a href="../functions/Chr.htm">Chr(1)</a> would look like X'0001'.
The encoded string can be decoded by Sqlite and stored in binary state as a BLOB.
For strings to be stored as TEXT use <a href="_SQLite_Escape.htm">_SQLite_Escape()</a>.
For numeric value to be stored as such, use simple concatenation.


###Related###
_SQLite_Escape


###Example###
@@IncludeExample@@
