WindowsRuntimeBufferExtensions.AsBuffer Method

.NET Framework (current version)

Returns a buffer Windows.Storage.Streams.IBuffer interface that represents a range of bytes in a specified byte array. The array serves as a backing store for the IBuffer.

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 AsBuffer(Byte[]) Returns a Windows.Storage.Streams.IBuffer interface that represents the specified byte array.
Public method Static member AsBuffer(Byte[], Int32, Int32) Returns a Windows.Storage.Streams.IBuffer interface that represents a range of bytes in the specified byte array.
Public method Static member AsBuffer(Byte[], Int32, Int32, Int32) Returns a Windows.Storage.Streams.IBuffer interface that represents a range of bytes in the specified byte array. Optionally sets the Length property of the IBuffer to a value that is less than the capacity.
Top
Show: