Windows apps
Collapse the table of content
Expand the table of content

WindowsRuntimeBuffer::Create Method

.NET Framework (current version)

Returns an object that implements the Windows.Storage.Streams.IBuffer interface.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Static member Create(Int32) Returns an empty Windows.Storage.Streams.IBuffer interface that has the specified maximum capacity.
Public method Static member Create(array<Byte>, Int32, Int32, Int32) Returns a Windows.Storage.Streams.IBuffer interface that contains a specified range of bytes copied from a byte array. If the specified capacity is greater than the number of bytes copied, the rest of the buffer is zero-filled.
Top
Show:
© 2017 Microsoft