Interface IBuffer
Represents a referenced array of bytes used by byte stream read and write interfaces. Buffer is the class implementation of this interface.
Namespace: Windows.Storage.Streams
Assembly: Windows.Storage.Streams.dll
Syntax
public interface IBuffer
Properties
| Improve this Doc View SourceCapacity
Gets the maximum number of bytes that the buffer can hold.
Declaration
uint Capacity { get; }
Property Value
Type | Description |
---|---|
UInt32 | The maximum number of bytes that the buffer can hold. |
Length
Gets the number of bytes currently in use in the buffer.
Declaration
uint Length { get; set; }
Property Value
Type | Description |
---|---|
UInt32 | The number of bytes currently in use in the buffer which is less than or equal to the capacity of the buffer. |