System::IO::TextReader::ReadBlock 方法
TextReader::ReadBlock method
从当前文本读取器读取指定的最大字符数,并将数据写入缓冲区,从指定索引开始。
virtual int System::IO::TextReader::ReadBlock(ArrayPtr<char_t> buffer, int index, int count)
| 参数 | 类型 | 描述 |
|---|---|---|
| buffer | ArrayPtr<char_t> | 用于写入读取数据的字符缓冲区 |
| 索引 | int | 在 buffer 中的基于0的索引,用于开始写入 |
| count | int | 要读取的最大字符数 |
ReturnValue
实际读取的字符数
另见
- Typedef ArrayPtr
- Class TextReader
- Namespace System::IO
- Library Aspose.Font for C++