Buffer Buffer Buffer Buffer Buffer Class
public : sealed class Buffer : IBuffer
struct winrt::Windows::Storage::Streams::Buffer : IBuffer
public sealed class Buffer : IBuffer
Public NotInheritable Class Buffer Implements IBuffer
var buffer = new buffer(capacity);
Windows 10 requirements
Windows 10 (introduced v10.0.10240.0)
Windows.Foundation.UniversalApiContract (introduced v1)
For more info, see Create, write, and read a file, which shows how to read and write bytes to a file by using a Buffer.
|Buffer(UInt32) Buffer(UInt32) Buffer(UInt32) Buffer(UInt32) Buffer(UInt32)||
Initializes a new instance of the Buffer class with the specified capacity.
|Capacity Capacity Capacity Capacity Capacity||
Gets the maximum number of bytes that the buffer can hold.
|Length Length Length Length Length||
Gets the number of bytes currently in use in the buffer.