... HANDLE hFile, // 文件句柄 LPVOID lpBuffer, // 读缓冲区 DWORD nNumberOfBytesToRead, // 要求读入的字节数 ...
基于10个网页-相关网页
读缓冲区大小 read_buffer_size
随机读缓冲区大小 read_rnd_buffer_size
预先读取缓冲区 read-ahead buffers
缓冲区读取 BufferedReader
重新读入内容到缓冲区 FillBuffer
文件读取缓冲区 file read buffer
读操作用的缓冲区大小 r e a d _ buffer
存放读取数据缓冲区 LPVOID lpBuffer
而且,对于那些受益于文件系统预读功能或者较高缓冲区缓存命中率的应用程序,可能会出现性能的降低。
Further, applications that might benefit from having a file system read ahead or high buffer cache hit rates might actually see performance degradation.
为了说明这一情况,让我们研究一个简单示例,该示例演示了从同一个缓冲区读和写一个字符。
Having said that, let's examine a quick example to demonstrate writing and reading a char from the same buffer.
必须首先创建一个缓冲区,先填充它,然后将位置倒回起始点,这样才能从头读。
You first must create the buffer, fill it, then rewind the position to the beginning so you can read from the start.
应用推荐