Ruyi SDK
Namespaces
Ruyi.Common
MemoryPool Class
MemoryPool Methods
GetStream Method
GetStream Method
GetStream Method (Byte[], Int32, Int32)
Click or drag to resizeClick or drag to resize

MemoryPoolGetStream Method (Byte, Int32, Int32)

[This is preliminary documentation and is subject to change.]

Gets a MemoryStream from the pool initialized with buffer.

Namespace:  Ruyi.Common
Assembly:  SDK.BaseAsync (in SDK.BaseAsync.dll) Version: 0.9.3.3995
Syntax
C#
Copy
public static MemoryStream GetStream(
	byte[] buffer,
	int offset = 0,
	int length = -1
)

Parameters

buffer
Type: SystemByte
The buffer.
offset (Optional)
Type: SystemInt32
The buffer offset. Defaults to start of buffer.
length (Optional)
Type: SystemInt32
The buffer length. Default (or when 0 or less) goes to end of buffer.

Return Value

Type: MemoryStream

[Missing <returns> documentation for "M:Ruyi.Common.MemoryPool.GetStream(System.Byte[],System.Int32,System.Int32)"]

See Also

Reference

MemoryPool Class
GetStream Overload
Ruyi.Common Namespace

Copyright ©Zhongshan Subor Advanced Technology Co., Ltd. 2017-2018, All right reserved

Send comments on this topic to dev-support@playruyi.com