Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
从列中获取二进制块。
public virtual size_t GetByteChunk( const char * cname, ul_byte * dst, size_t len, size_t offset )
cname 列的名称。
dst 用于保存字节的缓冲区。
len 缓冲区的大小(以字节为单位)。
offset 从中开始读取的值偏移或 UL_BLOB_CONTINUE 常量(从上次读取停止处继续)。
复制到目标缓冲区的字节数。如果 dst 值为 NULL,则返回剩余的字节数。列为空时,dst 参数中返回空字符串;使用 IsNull 方法以区分空值和空字符串。
如果返回 0,则达到该值的结尾。