StreamHelperReceive Method (Stream, Int32) |
读取指定字节数
Namespace: AdfAssembly: Adf (in Adf.dll) Version: 4.1.5549.27750
Syntax public static byte[] Receive(
Stream stream,
int readSize
)
Public Shared Function Receive (
stream As Stream,
readSize As Integer
) As Byte()
public:
static array<unsigned char>^ Receive(
Stream^ stream,
int readSize
)
static member Receive :
stream : Stream *
readSize : int -> byte[]
Parameters
- stream
- Type: System.IOStream
[Missing <param name="stream"/> documentation for "M:Adf.StreamHelper.Receive(System.IO.Stream,System.Int32)"]
- readSize
- Type: SystemInt32
[Missing <param name="readSize"/> documentation for "M:Adf.StreamHelper.Receive(System.IO.Stream,System.Int32)"]
Return Value
Type:
Byte[Missing <returns> documentation for "M:Adf.StreamHelper.Receive(System.IO.Stream,System.Int32)"]
Exceptions See Also