WindowsRuntimeBufferExtensions.GetByte(IBuffer, UInt32) Method
Definition
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.
Important
This API is not CLS-compliant.
Returns the byte at the specified offset in the specified Windows.Storage.Streams.IBuffer interface.
public:
[System::Runtime::CompilerServices::Extension]
static System::Byte GetByte(Windows::Storage::Streams::IBuffer ^ source, System::UInt32 byteOffset);
[System.CLSCompliant(false)]
public static byte GetByte (this Windows.Storage.Streams.IBuffer source, uint byteOffset);
[<System.CLSCompliant(false)>]
static member GetByte : Windows.Storage.Streams.IBuffer * uint32 -> byte
<Extension()>
Public Function GetByte (source As IBuffer, byteOffset As UInteger) As Byte
Parameters
- source
- IBuffer
The buffer to get the byte from.
- byteOffset
- UInt32
The offset of the byte.
Returns
The byte at the specified offset.
- Attributes
Exceptions
source
is null.
byteOffset
is less than 0 (zero).
byteOffset
is greater than or equal to the capacity of source
.
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.