一款简单易用的基础网络通讯组件库。

FileStorageRead(Int64, Byte, Int32, Int32) 方法

读取数据。

Definition

命名空间: TouchSocket.Core
程序集: TouchSocket.Core (在 TouchSocket.Core.dll 中) 版本:4.1.4.7+7f7e1f78093c99347956e09330d5d7aca1d2bdf2
C#
public int Read(
	long position,
	byte[] buffer,
	int offset,
	int count
)

参数

position  Int64
读取位置。
buffer  Byte
缓冲区。
offset  Int32
缓冲区偏移量。
count  Int32
读取字节数。

返回值

Int32
实际读取的字节数。

参见