IBufferManager.TakeBuffer(Int32) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a buffer of the specified size or larger from the pool.
C#
public byte[] TakeBuffer(int bufferSize);
abstract member TakeBuffer : int -> byte[]
Public Function TakeBuffer (bufferSize As Integer) As Byte()
- bufferSize
- Int32
The size, in bytes, of the requested buffer.
Byte[]
A byte array that is the requested size of the buffer.
The value specified for bufferSize
cannot be less than zero.
Product | Versions |
---|---|
Azure SDK for .NET | Legacy, Latest |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET feedback
Azure SDK for .NET is an open source project. Select a link to provide feedback: