다음을 통해 공유


WindowsRuntimeBufferExtensions.GetByte(IBuffer, UInt32) 메서드

정의

중요

이 API는 CLS 규격이 아닙니다.

지정된 Windows.Storage.Streams.IBuffer 인터페이스의 지정된 오프셋에서 바이트를 반환합니다.

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

매개 변수

source
IBuffer

바이트를 가져올 버퍼입니다.

byteOffset
UInt32

바이트의 오프셋입니다.

반환

지정된 오프셋의 바이트입니다.

특성

예외

source가 null입니다.

byteOffset이 0보다 작은 경우

byteOffsetsource의 용량보다 크거나 같은 경우

적용 대상