Buffer class
Provides a default implementation of the IBuffer interface and its related interfaces.
Syntax
Attributes
- ActivatableAttribute(Windows.Storage.Streams.IBufferFactory, NTDDI_WIN8)
- MarshalingBehaviorAttribute(Agile)
- MuseAttribute()
- ThreadingAttribute(Both)
- VersionAttribute(NTDDI_WIN8)
Members
The Buffer class has these types of members:
Constructors
The Buffer class has these constructors.
| Constructor | Description |
|---|---|
| Buffer | Initializes a new instance of the Buffer class with the specified capacity. |
Methods
The Buffer class inherits methods from the Object class (C#/VB/C++).
Properties
The Buffer class has these properties.
| Property | Access type | Description |
|---|---|---|
| Read-only | Gets the maximum number of bytes that the buffer can hold. | |
| Read/write | Gets the number of bytes currently in use in the buffer. |
Remarks
Use the IBufferFactory interface to create a new Buffer object.
Requirements
|
Minimum supported client | Windows 8 [Windows Store apps only] |
|---|---|
|
Minimum supported server | Windows Server 2012 [Windows Store apps only] |
|
Minimum supported phone | Windows Phone 8 |
|
Namespace |
|
|
Metadata |
|
See also
Build date: 2/25/2013