Table of Contents

Interface IBuffer

Namespace
Windows.Storage.Streams
Assembly
Windows.Storage.Streams.dll

Represents a referenced array of bytes used by byte stream read and write interfaces. Buffer is the class implementation of this interface.

public interface IBuffer
Extension Methods

Properties

Capacity

Gets the maximum number of bytes that the buffer can hold.

uint Capacity { get; }

Property Value

uint

The maximum number of bytes that the buffer can hold.

Length

Gets the number of bytes currently in use in the buffer.

uint Length { get; set; }

Property Value

uint

The number of bytes currently in use in the buffer which is less than or equal to the capacity of the buffer.