📄 tabsblobstream_read.htm
字号:
<html>
<head>
<title></title>
</head>
<!--#include virtual="/inc/header.php"-->
<table width="100%" border="0" cellspacing="0" cellpadding="2" bgcolor="#FFFFFF">
<tr>
<td align="left">
<span style="font-family:Helvetica,Arial; font-size:12pt; color:#000000"><b>TABSBlobStream.Read</b><span style="font-family:Helvetica,Arial; font-size:12pt; color:#0000FF"><b>
<br>
</b></span><span style="font-family:Helv; font-size:9pt; color:#000000"><span style="font-family:Helv; font-size:9pt; color:#7F0000"><a href=tabsblobstream.htm>TABSBlobStream</a></span></span><span style="font-family:Helvetica,Arial; font-size:12pt; color:#000000"><b>
<br>
</b></span></span>
</td>
<td align="right">
<font face="Arial" size="2">
<a href="overview.htm">Top</a>
</font>
</td>
</tr>
</table>
<br><br>
<span style="font-family:Helvetica,Arial; font-size:10pt; color:#000000">Reads up to Count bytes from the current position in the field's data into Buffer.
<br>
<br>
<b>function</b> Read(<b>var</b> Buffer; Count: Longint): Longint;
<br>
<br>
<b>Description</b>
<br>
Call Read to read data from the BLOB field when the number of bytes in the field's data is unknown.
<br>
<br>
Buffer is the target container for Read and must be of type PChar (or equivalent). Buffer must have at least Count bytes allocated to hold the data that was read from the field. Read transfers up to Count bytes from the BLOB data into Buffer, starting at the current position, and then advances the current position by the number of bytes actually transferred. Read returns the number of bytes actually transferred (which may be less than the number requested in Count).
<br>
<br>
Read checks the Transliterate property of the field, and converts the data into ANSI from the character set specified by the dataset if Transliterate is True.
<br>
<br>
All the other data-reading methods of a BLOB stream (ReadBuffer, ReadComponent) call Read to do their actual reading.
<br>
<br>
<b>Note:</b> Do not call Read when the TABSBlobStream was created in bmWrite mode.
<br>
</span>
<!--#include virtual="/inc/footer.php"-->
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -