Click or drag to resize
StreamHelperReceive Method (Stream, Int32, Int32)
读取

Namespace: Adf
Assembly: Adf (in Adf.dll) Version: 4.1.5549.27750
Syntax
public static MemoryStream Receive(
	Stream stream,
	int readSize,
	int bufferSize
)

Parameters

stream
Type: System.IOStream

[Missing <param name="stream"/> documentation for "M:Adf.StreamHelper.Receive(System.IO.Stream,System.Int32,System.Int32)"]

readSize
Type: SystemInt32

[Missing <param name="readSize"/> documentation for "M:Adf.StreamHelper.Receive(System.IO.Stream,System.Int32,System.Int32)"]

bufferSize
Type: SystemInt32

[Missing <param name="bufferSize"/> documentation for "M:Adf.StreamHelper.Receive(System.IO.Stream,System.Int32,System.Int32)"]

Return Value

Type: MemoryStream

[Missing <returns> documentation for "M:Adf.StreamHelper.Receive(System.IO.Stream,System.Int32,System.Int32)"]

Exceptions
ExceptionCondition
SocketExceptionerrorCode= SocketError.Shutdown
See Also