SequenceReaderExtensions.TryReadLittleEndian メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
| 名前 | 説明 |
|---|---|
| TryReadLittleEndian(SequenceReader<Byte>, Int16) |
Int16をリトル エンディアンとして読み取ろうとします。 |
| TryReadLittleEndian(SequenceReader<Byte>, Int32) |
Int32をリトル エンディアンとして読み取ろうとします。 |
| TryReadLittleEndian(SequenceReader<Byte>, Int64) |
Int64をリトル エンディアンとして読み取ろうとします。 |
TryReadLittleEndian(SequenceReader<Byte>, Int16)
Int16をリトル エンディアンとして読み取ろうとします。
public:
[System::Runtime::CompilerServices::Extension]
static bool TryReadLittleEndian(System::Buffers::SequenceReader<System::Byte> % reader, [Runtime::InteropServices::Out] short % value);
public static bool TryReadLittleEndian(this ref System.Buffers.SequenceReader<byte> reader, out short value);
static member TryReadLittleEndian : SequenceReader * int16 -> bool
<Extension()>
Public Function TryReadLittleEndian (ByRef reader As SequenceReader(Of Byte), ByRef value As Short) As Boolean
パラメーター
- reader
- SequenceReader<Byte>
値の読み取り元となるバイト シーケンス リーダー インスタンス。
- value
- Int16
メソッドから制御が戻ると、バイト シーケンス リーダーから読み取られた値がリトル エンディアンとして返されます。
返品
true読み取り操作が成功した場合。Int16に十分なデータがない場合にfalseします。
適用対象
TryReadLittleEndian(SequenceReader<Byte>, Int32)
Int32をリトル エンディアンとして読み取ろうとします。
public:
[System::Runtime::CompilerServices::Extension]
static bool TryReadLittleEndian(System::Buffers::SequenceReader<System::Byte> % reader, [Runtime::InteropServices::Out] int % value);
public static bool TryReadLittleEndian(this ref System.Buffers.SequenceReader<byte> reader, out int value);
static member TryReadLittleEndian : SequenceReader * int -> bool
<Extension()>
Public Function TryReadLittleEndian (ByRef reader As SequenceReader(Of Byte), ByRef value As Integer) As Boolean
パラメーター
- reader
- SequenceReader<Byte>
値の読み取り元となるバイト シーケンス リーダー インスタンス。
- value
- Int32
メソッドから制御が戻ると、バイト シーケンス リーダーから読み取られた値がリトル エンディアンとして返されます。
返品
true読み取り操作が成功した場合。Int32に十分なデータがない場合にfalseします。
適用対象
TryReadLittleEndian(SequenceReader<Byte>, Int64)
Int64をリトル エンディアンとして読み取ろうとします。
public:
[System::Runtime::CompilerServices::Extension]
static bool TryReadLittleEndian(System::Buffers::SequenceReader<System::Byte> % reader, [Runtime::InteropServices::Out] long % value);
public static bool TryReadLittleEndian(this ref System.Buffers.SequenceReader<byte> reader, out long value);
static member TryReadLittleEndian : SequenceReader * int64 -> bool
<Extension()>
Public Function TryReadLittleEndian (ByRef reader As SequenceReader(Of Byte), ByRef value As Long) As Boolean
パラメーター
- reader
- SequenceReader<Byte>
値の読み取り元となるバイト シーケンス リーダー インスタンス。
- value
- Int64
メソッドから制御が戻ると、バイト シーケンス リーダーから読み取られた値がリトル エンディアンとして返されます。
返品
true読み取り操作が成功した場合。Int64に十分なデータがない場合にfalseします。