SQLite数据库如何存储和读取二进制数据 1. 存储二进制数据 SQLite提供的绑定二进制参数接口函数为: int sqlite3_bind_blob(sqlite3_stmt*, int, const void*, int n, void(*)(void*)); 我们希望使用的是一套经过封装的COM接口,将上面这个函数封装为COM接口的形式 BindParaByIndex( LONG index, VARIANT val); 使用VARIANT变量来传递二进制数据,可以使用到它的一个SAF…
转自:http://www.cnblogs.com/futuredo/archive/2012/10/19/2727204.html Constructing and matching binaries Erlang/OTP R15B02 In R12B, the most natural way to write binary construction and matching is now significantly faster than in earlier releases. 在R12…