WindowsRuntimeBufferExtensions Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides extension methods for operating on Windows Runtime buffers (Windows.Storage.Streams.IBuffer interface).
public ref class WindowsRuntimeBufferExtensions abstract sealed
[System.Security.SecurityCritical]
public static class WindowsRuntimeBufferExtensions
[<System.Security.SecurityCritical>]
type WindowsRuntimeBufferExtensions = class
Public Module WindowsRuntimeBufferExtensions
- Inheritance
-
WindowsRuntimeBufferExtensions
- Attributes
As |
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. |
As |
Returns a Windows.Storage.Streams.IBuffer interface that represents a range of bytes in the specified byte array. |
As |
Returns a Windows.Storage.Streams.IBuffer interface that represents the specified byte array. |
As |
Returns a stream that represents the same memory that the specified Windows.Storage.Streams.IBuffer interface represents. |
Copy |
Copies all bytes from the source array to the destination buffer (Windows.Storage.Streams.IBuffer), starting at offset 0 (zero) in both. The method does not update the length of the destination buffer. |
Copy |
Copies bytes from the source array to the destination buffer (Windows.Storage.Streams.IBuffer), specifying the starting index in the source array, the starting index in the destination buffer, and the number of bytes to copy. The method does not update the Length property of the destination buffer. |
Copy |
Copies all bytes from the source buffer (Windows.Storage.Streams.IBuffer) to the destination array, starting at offset 0 (zero) in both. |
Copy |
Copies all bytes from the source buffer (Windows.Storage.Streams.IBuffer) to the destination buffer, starting at offset 0 (zero) in both. |
Copy |
Copies bytes from the source buffer (Windows.Storage.Streams.IBuffer) to the destination array, specifying the starting index in the source buffer, the starting index in the destination array, and the number of bytes to copy. |
Copy |
Copies bytes from the source buffer (Windows.Storage.Streams.IBuffer) to the destination buffer, specifying the starting index in the source, the starting index in the destination, and the number of bytes to copy. |
Get |
Returns the byte at the specified offset in the specified Windows.Storage.Streams.IBuffer interface. |
Get |
Returns a Windows.Storage.Streams.IBuffer interface that represents a region within the memory that the specified memory stream represents. |
Get |
Returns a Windows.Storage.Streams.IBuffer interface that represents the same memory as the specified memory stream. |
Is |
Returns a value that indicates whether two buffers (Windows.Storage.Streams.IBuffer objects) represent the same underlying memory region. |
To |
Returns a new array that is created from the contents of the specified buffer (Windows.Storage.Streams.IBuffer), starting at a specified offset and including a specified number of bytes. |
To |
Returns a new array that is created from the contents of the specified buffer (Windows.Storage.Streams.IBuffer). The size of the array is the value of the Length property of the IBuffer. |
Product | Versions |
---|---|
UWP | 10.0 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: