C# Class System.Runtime.InteropServices.WindowsRuntime.WindowsRuntimeBufferExtensions

ファイルを表示 Open project: dotnet/corefx

Private Methods

Method Description
AsBuffer ( this source ) : Windows.Storage.Streams.IBuffer
AsBuffer ( this source, Int32 offset, Int32 length ) : Windows.Storage.Streams.IBuffer
AsBuffer ( this source, Int32 offset, Int32 length, Int32 capacity ) : Windows.Storage.Streams.IBuffer
AsStream ( this source ) : Stream
CopyTo ( this source, Byte destination ) : void
CopyTo ( this source, Windows.Storage.Streams.IBuffer destination ) : void
CopyTo ( this source, Int32 sourceIndex, Windows.Storage.Streams.IBuffer destination, UInt32 destinationIndex, Int32 count ) : void
CopyTo ( this source, UInt32 sourceIndex, Byte destination, Int32 destinationIndex, Int32 count ) : void
CopyTo ( this source, UInt32 sourceIndex, Windows.Storage.Streams.IBuffer destination, UInt32 destinationIndex, UInt32 count ) : void
GetByte ( this source, UInt32 byteOffset ) : Byte
GetPointerAtOffset ( this buffer, UInt32 offset ) : IntPtr
GetWindowsRuntimeBuffer ( this underlyingStream ) : Windows.Storage.Streams.IBuffer
GetWindowsRuntimeBuffer ( this underlyingStream, Int32 positionInStream, Int32 length ) : Windows.Storage.Streams.IBuffer
IsSameData ( this buffer, Windows.Storage.Streams.IBuffer otherBuffer ) : bool
MemCopy ( IntPtr src, IntPtr dst, UInt32 count ) : void
ToArray ( this source ) : Byte[]
ToArray ( this source, UInt32 sourceIndex, Int32 count ) : Byte[]
TryGetUnderlyingData ( this buffer, Byte &underlyingDataArray, Int32 &underlyingDataArrayStartOffset ) : bool

If the specified IBuffer is backed by a managed array, this method will return true and set underlyingDataArray to refer to that array and underlyingDataArrayStartOffset to the value at which the buffer data begins in that array. If the specified IBuffer is not backed by a managed array, this method will return false. This method is required by managed APIs that wish to use the buffer's data with other managed APIs that use arrays without a need for a memory copy.