0 out of 10 rated this helpful - Rate this topic

Buffer class

Provides a default implementation of the IBuffer interface and its related interfaces.

Syntax

Public NotInheritable Class Buffer  
    Inherits Object
    Implements IBuffer

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.

ConstructorDescription
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.

PropertyAccess typeDescription

Capacity

Read-onlyGets the maximum number of bytes that the buffer can hold.

Length

Read/writeGets 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

Windows.Storage.Streams
Windows::Storage::Streams [C++]

Metadata

Windows.winmd

See also

IBufferFactory
Object
IBuffer

 

 

Build date: 2/25/2013

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.