輸入緩衝區
48 個節點
本頁內容 48
複製緩衝區
函數Returns a self-contained immutable copy of this buffer.
複製緩衝區(Input Buffer: Input Buffer) -> Input Buffer
ImmutableReadonlyByteArray Clone(ImmutableReadonlyByteArray Input Buffer)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Input Buffer | Input Buffer | — |
返回
| 結果 | Input Buffer |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 輸入緩衝區
- 所屬包
- 平臺
相等
函數過載 1/2
相等(Input Buffer: Input Buffer, 另一個: Input Buffer) -> 真否
bool Equals(
ImmutableReadonlyByteArray Input Buffer,
ImmutableReadonlyByteArray other)Determines whether this buffer has the same visible bytes as another buffer.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Input Buffer | Input Buffer | — | |
| 另一個 | Input Buffer | — | The other buffer. |
返回
| 結果 | 真否 |
過載 2/2
相等(Input Buffer: Input Buffer, 物件: 任意) -> 真否
bool Equals(ImmutableReadonlyByteArray Input Buffer, object obj)
Determines whether this buffer has the same visible bytes as another object.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Input Buffer | Input Buffer | — | |
| 物件 | 任意 | — | The other object. |
返回
| 結果 | 真否 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 輸入緩衝區
- 所屬包
- 平臺
位元組
函數Gets an enumerable over the visible bytes in this immutable byte array.
位元組(Input Buffer: Input Buffer) -> IEnumerable<位元組>
IEnumerable<byte> Bytes(ImmutableReadonlyByteArray Input Buffer)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Input Buffer | Input Buffer | — |
返回
| 結果 | IEnumerable<位元組> |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 輸入緩衝區
- 所屬包
- 平臺
位元組序
函數Gets the byte order used by numeric read operations.
位元組序(Input Buffer: Input Buffer) -> Byte Array Endianness
ByteArrayEndianness Endianness(ImmutableReadonlyByteArray Input Buffer)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Input Buffer | Input Buffer | — |
返回
| 結果 | Byte Array Endianness |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 輸入緩衝區
- 所屬包
- 平臺
是否為空
函數Gets a value indicating whether this immutable byte array contains no bytes.
是否為空(Input Buffer: Input Buffer) -> 真否
bool IsEmpty(ImmutableReadonlyByteArray Input Buffer)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Input Buffer | Input Buffer | — |
返回
| 結果 | 真否 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 輸入緩衝區
- 所屬包
- 平臺
位元組
函數Gets the byte at the specified zero-based index.
位元組(Input Buffer: Input Buffer, 索引: 整數) -> 位元組
byte Item(ImmutableReadonlyByteArray Input Buffer, int index)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Input Buffer | Input Buffer | — | |
| 索引 | 整數 | — | The zero-based byte index relative to this buffer. |
返回
| 結果 | 位元組 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 輸入緩衝區
- 所屬包
- 平臺
長度
函數Gets the number of bytes visible in this immutable byte array.
長度(Input Buffer: Input Buffer) -> 整數
int Length(ImmutableReadonlyByteArray Input Buffer)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Input Buffer | Input Buffer | — |
返回
| 結果 | 整數 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 輸入緩衝區
- 所屬包
- 平臺
文字編碼
函數Gets the encoding used by string read operations.
文字編碼(Input Buffer: Input Buffer) -> Encoding
Encoding StringEncoding(ImmutableReadonlyByteArray Input Buffer)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Input Buffer | Input Buffer | — |
返回
| 結果 | Encoding |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 輸入緩衝區
- 所屬包
- 平臺
取得列舉器
函數Returns an enumerator over the visible bytes.
取得列舉器(Input Buffer: Input Buffer) -> IEnumerator<位元組>
IEnumerator<byte> GetEnumerator(ImmutableReadonlyByteArray Input Buffer)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Input Buffer | Input Buffer | — |
返回
| 結果 | IEnumerator<位元組> |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 輸入緩衝區
- 所屬包
- 平臺
取得雜湊碼
函數Gets a hash code based on the visible bytes.
取得雜湊碼(Input Buffer: Input Buffer) -> 整數
int GetHashCode(ImmutableReadonlyByteArray Input Buffer)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Input Buffer | Input Buffer | — |
返回
| 結果 | 整數 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 輸入緩衝區
- 所屬包
- 平臺
讀取真否
函數過載 1/2
讀取真否(Input Buffer: Input Buffer) -> (結果: Input Buffer, 值: 真否)
ImmutableReadonlyByteArray ReadBool(
ImmutableReadonlyByteArray Input Buffer,
out bool value)Reads a Boolean and returns the remaining bytes.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Input Buffer | Input Buffer | — |
返回
| 結果 | Input Buffer |
| 值 | 真否 |
過載 2/2
讀取真否(Input Buffer: Input Buffer) -> 真否
bool ReadBool(ImmutableReadonlyByteArray Input Buffer)
Reads a Boolean.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Input Buffer | Input Buffer | — |
返回
| 結果 | 真否 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 輸入緩衝區
- 所屬包
- 平臺
在偏移處讀取真否
函數Reads a Boolean at an explicit offset without consuming bytes.
在偏移處讀取真否 -> 真否
Input Buffer: Input Buffer
位元組索引: 整數bool ReadBoolWithOffset(
ImmutableReadonlyByteArray Input Buffer,
int byteIndex)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Input Buffer | Input Buffer | — | |
| 位元組索引 | 整數 | — |
返回
| 結果 | 真否 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 輸入緩衝區
- 所屬包
- 平臺
讀取位元組
函數過載 1/2
讀取位元組(Input Buffer: Input Buffer) -> (結果: Input Buffer, 值: 位元組)
ImmutableReadonlyByteArray ReadByte(
ImmutableReadonlyByteArray Input Buffer,
out byte value)Reads a byte and returns the remaining bytes.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Input Buffer | Input Buffer | — |
返回
| 結果 | Input Buffer |
| 值 | 位元組 |
過載 2/2
讀取位元組(Input Buffer: Input Buffer) -> 位元組
byte ReadByte(ImmutableReadonlyByteArray Input Buffer)
Reads a byte.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Input Buffer | Input Buffer | — |
返回
| 結果 | 位元組 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 輸入緩衝區
- 所屬包
- 平臺
讀取多個位元組
函數過載 1/3
讀取多個位元組 -> (結果: Input Buffer, 值: Input Buffer)
Input Buffer: Input Buffer
數量: 整數ImmutableReadonlyByteArray ReadBytes(
ImmutableReadonlyByteArray Input Buffer,
int count,
out ImmutableReadonlyByteArray value)Reads bytes from the beginning of this buffer and returns the remaining bytes.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Input Buffer | Input Buffer | — | |
| 數量 | 整數 | — | The number of bytes to read. |
返回
| 結果 | Input Buffer |
| 值 | Input Buffer |
過載 2/3
讀取多個位元組 -> Input Buffer
Input Buffer: Input Buffer
數量: 整數ImmutableReadonlyByteArray ReadBytes(
ImmutableReadonlyByteArray Input Buffer,
int count)Reads bytes from the beginning of this buffer.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Input Buffer | Input Buffer | — | |
| 數量 | 整數 | — | The number of bytes to read. |
返回
| 結果 | Input Buffer |
過載 3/3
讀取多個位元組 -> (結果: Input Buffer, 值: Input Buffer)
Input Buffer: Input Buffer
數量: 整數
繼續讀取: Action<Input Buffer>ImmutableReadonlyByteArray ReadBytes(
ImmutableReadonlyByteArray Input Buffer,
int count,
out ImmutableReadonlyByteArray value,
Action<ImmutableReadonlyByteArray> continuation)Reads bytes from the beginning of this buffer, invokes a continuation with the read bytes, and returns the remaining bytes.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Input Buffer | Input Buffer | — | |
| 數量 | 整數 | — | The number of bytes to read. |
| 繼續讀取 | Action<Input Buffer> | — | The continuation invoked with the read bytes. |
返回
| 結果 | Input Buffer |
| 值 | Input Buffer |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 輸入緩衝區
- 所屬包
- 平臺
在偏移處讀取多個位元組
函數Reads bytes at an explicit offset without consuming bytes.
在偏移處讀取多個位元組 -> Input Buffer
Input Buffer: Input Buffer
位元組索引: 整數
數量: 整數ImmutableReadonlyByteArray ReadBytesWithOffset(
ImmutableReadonlyByteArray Input Buffer,
int byteIndex,
int count)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Input Buffer | Input Buffer | — | |
| 位元組索引 | 整數 | — | The zero-based start index. |
| 數量 | 整數 | — | The number of bytes to read. |
返回
| 結果 | Input Buffer |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 輸入緩衝區
- 所屬包
- 平臺
在偏移處讀取位元組
函數Reads a byte at an explicit offset without consuming bytes.
在偏移處讀取位元組 -> 位元組
Input Buffer: Input Buffer
位元組索引: 整數byte ReadByteWithOffset(
ImmutableReadonlyByteArray Input Buffer,
int byteIndex)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Input Buffer | Input Buffer | — | |
| 位元組索引 | 整數 | — |
返回
| 結果 | 位元組 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 輸入緩衝區
- 所屬包
- 平臺
讀取數字
函數過載 1/2
讀取數字(Input Buffer: Input Buffer) -> (結果: Input Buffer, 值: 數字)
ImmutableReadonlyByteArray ReadDouble(
ImmutableReadonlyByteArray Input Buffer,
out double value)Reads a 64-bit floating-point value and returns the remaining bytes.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Input Buffer | Input Buffer | — |
返回
| 結果 | Input Buffer |
| 值 | 數字 |
過載 2/2
讀取數字(Input Buffer: Input Buffer) -> 數字
double ReadDouble(ImmutableReadonlyByteArray Input Buffer)
Reads a 64-bit floating-point value.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Input Buffer | Input Buffer | — |
返回
| 結果 | 數字 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 輸入緩衝區
- 所屬包
- 平臺
在偏移處讀取數字
函數Reads a 64-bit floating-point value at an explicit offset without consuming bytes.
在偏移處讀取數字 -> 數字
Input Buffer: Input Buffer
位元組索引: 整數double ReadDoubleWithOffset(
ImmutableReadonlyByteArray Input Buffer,
int byteIndex)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Input Buffer | Input Buffer | — | |
| 位元組索引 | 整數 | — |
返回
| 結果 | 數字 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 輸入緩衝區
- 所屬包
- 平臺
讀取低精度數字
函數過載 1/2
讀取低精度數字(Input Buffer: Input Buffer) -> (結果: Input Buffer, 值: 低精度數字)
ImmutableReadonlyByteArray ReadFloat(
ImmutableReadonlyByteArray Input Buffer,
out float value)Reads a 32-bit floating-point value and returns the remaining bytes.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Input Buffer | Input Buffer | — |
返回
| 結果 | Input Buffer |
| 值 | 低精度數字 |
過載 2/2
讀取低精度數字(Input Buffer: Input Buffer) -> 低精度數字
float ReadFloat(ImmutableReadonlyByteArray Input Buffer)
Reads a 32-bit floating-point value.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Input Buffer | Input Buffer | — |
返回
| 結果 | 低精度數字 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 輸入緩衝區
- 所屬包
- 平臺
在偏移處讀取低精度數字
函數Reads a 32-bit floating-point value at an explicit offset without consuming bytes.
在偏移處讀取低精度數字 -> 低精度數字
Input Buffer: Input Buffer
位元組索引: 整數float ReadFloatWithOffset(
ImmutableReadonlyByteArray Input Buffer,
int byteIndex)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Input Buffer | Input Buffer | — | |
| 位元組索引 | 整數 | — |
返回
| 結果 | 低精度數字 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 輸入緩衝區
- 所屬包
- 平臺
讀取 GUID
函數過載 1/2
讀取 GUID(Input Buffer: Input Buffer) -> (結果: Input Buffer, 值: Guid)
ImmutableReadonlyByteArray ReadGuid(
ImmutableReadonlyByteArray Input Buffer,
out Guid value)Reads a GUID and returns the remaining bytes.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Input Buffer | Input Buffer | — |
返回
| 結果 | Input Buffer |
| 值 | Guid |
過載 2/2
讀取 GUID(Input Buffer: Input Buffer) -> Guid
Guid ReadGuid(ImmutableReadonlyByteArray Input Buffer)
Reads a GUID.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Input Buffer | Input Buffer | — |
返回
| 結果 | Guid |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 輸入緩衝區
- 所屬包
- 平臺
在偏移處讀取 GUID
函數Reads a GUID at an explicit offset without consuming bytes.
在偏移處讀取 GUID -> Guid
Input Buffer: Input Buffer
位元組索引: 整數Guid ReadGuidWithOffset(
ImmutableReadonlyByteArray Input Buffer,
int byteIndex)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Input Buffer | Input Buffer | — | |
| 位元組索引 | 整數 | — |
返回
| 結果 | Guid |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 輸入緩衝區
- 所屬包
- 平臺
讀取整數
函數過載 1/2
讀取整數(Input Buffer: Input Buffer) -> (結果: Input Buffer, 值: 整數)
ImmutableReadonlyByteArray ReadInt(
ImmutableReadonlyByteArray Input Buffer,
out int value)Reads a 32-bit signed integer and returns the remaining bytes.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Input Buffer | Input Buffer | — |
返回
| 結果 | Input Buffer |
| 值 | 整數 |
過載 2/2
讀取整數(Input Buffer: Input Buffer) -> 整數
int ReadInt(ImmutableReadonlyByteArray Input Buffer)
Reads a 32-bit signed integer.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Input Buffer | Input Buffer | — |
返回
| 結果 | 整數 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 輸入緩衝區
- 所屬包
- 平臺
在偏移處讀取整數
函數Reads a 32-bit signed integer at an explicit offset without consuming bytes.
在偏移處讀取整數 -> 整數
Input Buffer: Input Buffer
位元組索引: 整數int ReadIntWithOffset(
ImmutableReadonlyByteArray Input Buffer,
int byteIndex)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Input Buffer | Input Buffer | — | |
| 位元組索引 | 整數 | — |
返回
| 結果 | 整數 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 輸入緩衝區
- 所屬包
- 平臺
讀取大整數
函數過載 1/2
讀取大整數(Input Buffer: Input Buffer) -> (結果: Input Buffer, 值: 大整數)
ImmutableReadonlyByteArray ReadLong(
ImmutableReadonlyByteArray Input Buffer,
out long value)Reads a 64-bit signed integer and returns the remaining bytes.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Input Buffer | Input Buffer | — |
返回
| 結果 | Input Buffer |
| 值 | 大整數 |
過載 2/2
讀取大整數(Input Buffer: Input Buffer) -> 大整數
long ReadLong(ImmutableReadonlyByteArray Input Buffer)
Reads a 64-bit signed integer.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Input Buffer | Input Buffer | — |
返回
| 結果 | 大整數 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 輸入緩衝區
- 所屬包
- 平臺
在偏移處讀取大整數
函數Reads a 64-bit signed integer at an explicit offset without consuming bytes.
在偏移處讀取大整數 -> 大整數
Input Buffer: Input Buffer
位元組索引: 整數long ReadLongWithOffset(
ImmutableReadonlyByteArray Input Buffer,
int byteIndex)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Input Buffer | Input Buffer | — | |
| 位元組索引 | 整數 | — |
返回
| 結果 | 大整數 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 輸入緩衝區
- 所屬包
- 平臺
讀取有符號位元組
函數過載 1/2
讀取有符號位元組(Input Buffer: Input Buffer) -> (結果: Input Buffer, 值: SByte)
ImmutableReadonlyByteArray ReadSByte(
ImmutableReadonlyByteArray Input Buffer,
out sbyte value)Reads a signed byte and returns the remaining bytes.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Input Buffer | Input Buffer | — |
返回
| 結果 | Input Buffer |
| 值 | SByte |
過載 2/2
讀取有符號位元組(Input Buffer: Input Buffer) -> SByte
sbyte ReadSByte(ImmutableReadonlyByteArray Input Buffer)
Reads a signed byte.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Input Buffer | Input Buffer | — |
返回
| 結果 | SByte |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 輸入緩衝區
- 所屬包
- 平臺
在偏移處讀取有符號位元組
函數Reads a signed byte at an explicit offset without consuming bytes.
在偏移處讀取有符號位元組 -> SByte
Input Buffer: Input Buffer
位元組索引: 整數sbyte ReadSByteWithOffset(
ImmutableReadonlyByteArray Input Buffer,
int byteIndex)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Input Buffer | Input Buffer | — | |
| 位元組索引 | 整數 | — |
返回
| 結果 | SByte |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 輸入緩衝區
- 所屬包
- 平臺
讀取小整數
函數過載 1/2
讀取小整數(Input Buffer: Input Buffer) -> (結果: Input Buffer, 值: 小整數)
ImmutableReadonlyByteArray ReadShort(
ImmutableReadonlyByteArray Input Buffer,
out short value)Reads a 16-bit signed integer and returns the remaining bytes.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Input Buffer | Input Buffer | — |
返回
| 結果 | Input Buffer |
| 值 | 小整數 |
過載 2/2
讀取小整數(Input Buffer: Input Buffer) -> 小整數
short ReadShort(ImmutableReadonlyByteArray Input Buffer)
Reads a 16-bit signed integer.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Input Buffer | Input Buffer | — |
返回
| 結果 | 小整數 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 輸入緩衝區
- 所屬包
- 平臺
在偏移處讀取小整數
函數Reads a 16-bit signed integer at an explicit offset without consuming bytes.
在偏移處讀取小整數 -> 小整數
Input Buffer: Input Buffer
位元組索引: 整數short ReadShortWithOffset(
ImmutableReadonlyByteArray Input Buffer,
int byteIndex)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Input Buffer | Input Buffer | — | |
| 位元組索引 | 整數 | — |
返回
| 結果 | 小整數 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 輸入緩衝區
- 所屬包
- 平臺
讀取文字
函數過載 1/4
讀取文字 -> (結果: Input Buffer, 值: 文字)
Input Buffer: Input Buffer
大小: 整數ImmutableReadonlyByteArray ReadString(
ImmutableReadonlyByteArray Input Buffer,
int size,
out string value)Reads a fixed-size string from the beginning of this buffer and returns the remaining bytes.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Input Buffer | Input Buffer | — | |
| 大小 | 整數 | — | The number of bytes to read. |
返回
| 結果 | Input Buffer |
| 值 | 文字 |
過載 2/4
讀取文字(Input Buffer: Input Buffer, 大小: 整數) -> 文字
string ReadString(
ImmutableReadonlyByteArray Input Buffer,
int size)Reads a fixed-size string from the beginning of this buffer.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Input Buffer | Input Buffer | — | |
| 大小 | 整數 | — | The number of bytes to read. |
返回
| 結果 | 文字 |
過載 3/4
讀取文字(Input Buffer: Input Buffer) -> (結果: Input Buffer, 值: 文字)
ImmutableReadonlyByteArray ReadString(
ImmutableReadonlyByteArray Input Buffer,
out string value)Reads a zero-terminated string from the beginning of this buffer and returns the remaining bytes after the terminator.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Input Buffer | Input Buffer | — |
返回
| 結果 | Input Buffer |
| 值 | 文字 |
過載 4/4
讀取文字(Input Buffer: Input Buffer) -> 文字
string ReadString(ImmutableReadonlyByteArray Input Buffer)
Reads a zero-terminated string from the beginning of this buffer.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Input Buffer | Input Buffer | — |
返回
| 結果 | 文字 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 輸入緩衝區
- 所屬包
- 平臺
在偏移處讀取文字
函數過載 1/2
在偏移處讀取文字 -> 文字
Input Buffer: Input Buffer
位元組索引: 整數
大小: 整數string ReadStringWithOffset(
ImmutableReadonlyByteArray Input Buffer,
int byteIndex,
int size)Reads a fixed-size string at an explicit offset without consuming bytes.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Input Buffer | Input Buffer | — | |
| 位元組索引 | 整數 | — | The zero-based start index. |
| 大小 | 整數 | — | The number of bytes to read. |
返回
| 結果 | 文字 |
過載 2/2
在偏移處讀取文字 -> 文字
Input Buffer: Input Buffer
位元組索引: 整數string ReadStringWithOffset(
ImmutableReadonlyByteArray Input Buffer,
int byteIndex)Reads a zero-terminated string at an explicit offset without consuming bytes.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Input Buffer | Input Buffer | — | |
| 位元組索引 | 整數 | — | The zero-based start index. |
返回
| 結果 | 文字 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 輸入緩衝區
- 所屬包
- 平臺
讀取正整數
函數過載 1/2
讀取正整數(Input Buffer: Input Buffer) -> (結果: Input Buffer, 值: 正整數)
ImmutableReadonlyByteArray ReadUInt(
ImmutableReadonlyByteArray Input Buffer,
out uint value)Reads a 32-bit unsigned integer and returns the remaining bytes.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Input Buffer | Input Buffer | — |
返回
| 結果 | Input Buffer |
| 值 | 正整數 |
過載 2/2
讀取正整數(Input Buffer: Input Buffer) -> 正整數
uint ReadUInt(ImmutableReadonlyByteArray Input Buffer)
Reads a 32-bit unsigned integer.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Input Buffer | Input Buffer | — |
返回
| 結果 | 正整數 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 輸入緩衝區
- 所屬包
- 平臺
在偏移處讀取正整數
函數Reads a 32-bit unsigned integer at an explicit offset without consuming bytes.
在偏移處讀取正整數 -> 正整數
Input Buffer: Input Buffer
位元組索引: 整數uint ReadUIntWithOffset(
ImmutableReadonlyByteArray Input Buffer,
int byteIndex)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Input Buffer | Input Buffer | — | |
| 位元組索引 | 整數 | — |
返回
| 結果 | 正整數 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 輸入緩衝區
- 所屬包
- 平臺
讀取大正整數
函數過載 1/2
讀取大正整數(Input Buffer: Input Buffer) -> (結果: Input Buffer, 值: 大正整數)
ImmutableReadonlyByteArray ReadULong(
ImmutableReadonlyByteArray Input Buffer,
out ulong value)Reads a 64-bit unsigned integer and returns the remaining bytes.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Input Buffer | Input Buffer | — |
返回
| 結果 | Input Buffer |
| 值 | 大正整數 |
過載 2/2
讀取大正整數(Input Buffer: Input Buffer) -> 大正整數
ulong ReadULong(ImmutableReadonlyByteArray Input Buffer)
Reads a 64-bit unsigned integer.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Input Buffer | Input Buffer | — |
返回
| 結果 | 大正整數 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 輸入緩衝區
- 所屬包
- 平臺
在偏移處讀取大正整數
函數Reads a 64-bit unsigned integer at an explicit offset without consuming bytes.
在偏移處讀取大正整數 -> 大正整數
Input Buffer: Input Buffer
位元組索引: 整數ulong ReadULongWithOffset(
ImmutableReadonlyByteArray Input Buffer,
int byteIndex)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Input Buffer | Input Buffer | — | |
| 位元組索引 | 整數 | — |
返回
| 結果 | 大正整數 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 輸入緩衝區
- 所屬包
- 平臺
讀取小正整數
函數過載 1/2
讀取小正整數(Input Buffer: Input Buffer) -> (結果: Input Buffer, 值: 小正整數)
ImmutableReadonlyByteArray ReadUShort(
ImmutableReadonlyByteArray Input Buffer,
out ushort value)Reads a 16-bit unsigned integer and returns the remaining bytes.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Input Buffer | Input Buffer | — |
返回
| 結果 | Input Buffer |
| 值 | 小正整數 |
過載 2/2
讀取小正整數(Input Buffer: Input Buffer) -> 小正整數
ushort ReadUShort(ImmutableReadonlyByteArray Input Buffer)
Reads a 16-bit unsigned integer.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Input Buffer | Input Buffer | — |
返回
| 結果 | 小正整數 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 輸入緩衝區
- 所屬包
- 平臺
在偏移處讀取小正整數
函數Reads a 16-bit unsigned integer at an explicit offset without consuming bytes.
在偏移處讀取小正整數 -> 小正整數
Input Buffer: Input Buffer
位元組索引: 整數ushort ReadUShortWithOffset(
ImmutableReadonlyByteArray Input Buffer,
int byteIndex)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Input Buffer | Input Buffer | — | |
| 位元組索引 | 整數 | — |
返回
| 結果 | 小正整數 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 輸入緩衝區
- 所屬包
- 平臺
跳過
函數Skips a number of bytes and returns the remaining bytes.
跳過(Input Buffer: Input Buffer, 數量: 整數) -> Input Buffer
ImmutableReadonlyByteArray Skip(
ImmutableReadonlyByteArray Input Buffer,
int count)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Input Buffer | Input Buffer | — | |
| 數量 | 整數 | — | The number of bytes to skip. |
返回
| 結果 | Input Buffer |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 輸入緩衝區
- 所屬包
- 平臺
切片
函數Returns a slice of this immutable byte array.
過載 1/2
切片 -> Input Buffer
Input Buffer: Input Buffer
位元組索引: 整數ImmutableReadonlyByteArray Slice(
ImmutableReadonlyByteArray Input Buffer,
int byteIndex)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Input Buffer | Input Buffer | — | |
| 位元組索引 | 整數 | — | The zero-based start index. |
返回
| 結果 | Input Buffer |
過載 2/2
切片 -> Input Buffer
Input Buffer: Input Buffer
位元組索引: 整數
數量: 整數ImmutableReadonlyByteArray Slice(
ImmutableReadonlyByteArray Input Buffer,
int byteIndex,
int count)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Input Buffer | Input Buffer | — | |
| 位元組索引 | 整數 | — | The zero-based start index. |
| 數量 | 整數 | — | The number of bytes. |
返回
| 結果 | Input Buffer |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 輸入緩衝區
- 所屬包
- 平臺
轉為陣列
函數Returns a copy of the visible bytes.
轉為陣列(Input Buffer: Input Buffer) -> 位元組陣列
byte[] ToArray(ImmutableReadonlyByteArray Input Buffer)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Input Buffer | Input Buffer | — |
返回
| 結果 | 位元組陣列 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 輸入緩衝區
- 所屬包
- 平臺
轉為文字
函數Returns a hexadecimal preview of this buffer.
轉為文字(Input Buffer: Input Buffer) -> 文字
string ToString(ImmutableReadonlyByteArray Input Buffer)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Input Buffer | Input Buffer | — |
返回
| 結果 | 文字 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 輸入緩衝區
- 所屬包
- 平臺
設定位元組序
函數Returns a new immutable byte array with the same bytes but a different numeric byte order.
設定位元組序 -> Input Buffer
Input Buffer: Input Buffer
位元組序: Byte Array EndiannessImmutableReadonlyByteArray WithEndianness(
ImmutableReadonlyByteArray Input Buffer,
ByteArrayEndianness endianness)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Input Buffer | Input Buffer | — | |
| 位元組序 | Byte Array Endianness | — | The byte order to use. |
返回
| 結果 | Input Buffer |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 輸入緩衝區
- 所屬包
- 平臺
設定文字編碼
函數Returns a new immutable byte array with the same bytes but a different string encoding.
設定文字編碼 -> Input Buffer
Input Buffer: Input Buffer
編碼: EncodingImmutableReadonlyByteArray WithStringEncoding(
ImmutableReadonlyByteArray Input Buffer,
Encoding encoding)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Input Buffer | Input Buffer | — | |
| 編碼 | Encoding | — | The string encoding to use. |
返回
| 結果 | Input Buffer |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 輸入緩衝區
- 所屬包
- 平臺
從陣列建立
函數Creates an immutable byte array from a byte array by copying its contents.
過載 1/2
從陣列建立(位元組: 位元組陣列) -> Input Buffer
ImmutableReadonlyByteArray FromArray(byte[] bytes)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 位元組 | 位元組陣列 | — | The source bytes. |
返回
| 結果 | Input Buffer |
過載 2/2
從陣列建立 -> Input Buffer
位元組: 位元組陣列
位元組序: Byte Array Endianness
文字編碼: EncodingImmutableReadonlyByteArray FromArray(
byte[] bytes,
ByteArrayEndianness endianness,
Encoding stringEncoding)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 位元組 | 位元組陣列 | — | The source bytes. |
| 位元組序 | Byte Array Endianness | — | The byte order used by numeric read operations. |
| 文字編碼 | Encoding | — | The encoding used by string read operations. |
返回
| 結果 | Input Buffer |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 輸入緩衝區
- 所屬包
- 平臺
從檔案建立
函數Reads all bytes from a file into a new immutable byte array.
過載 1/2
從檔案建立(路徑: 文字) -> Input Buffer
ImmutableReadonlyByteArray FromFile(string path)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 路徑 | 文字 | — | The file path. |
返回
| 結果 | Input Buffer |
過載 2/2
從檔案建立 -> Input Buffer
路徑: 文字
位元組序: Byte Array Endianness
文字編碼: EncodingImmutableReadonlyByteArray FromFile(
string path,
ByteArrayEndianness endianness,
Encoding stringEncoding)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 路徑 | 文字 | — | The file path. |
| 位元組序 | Byte Array Endianness | — | The byte order used by numeric read operations. |
| 文字編碼 | Encoding | — | The encoding used by string read operations. |
返回
| 結果 | Input Buffer |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 輸入緩衝區
- 所屬包
- 平臺
從流建立
函數Reads all bytes from a stream into a new immutable byte array.
過載 1/2
從流建立(流式輸出: Stream) -> Input Buffer
ImmutableReadonlyByteArray FromStream(Stream stream)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 流式輸出 | Stream | — | The source stream. |
返回
| 結果 | Input Buffer |
過載 2/2
從流建立 -> Input Buffer
流式輸出: Stream
位元組序: Byte Array Endianness
文字編碼: EncodingImmutableReadonlyByteArray FromStream(
Stream stream,
ByteArrayEndianness endianness,
Encoding stringEncoding)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 流式輸出 | Stream | — | The source stream. |
| 位元組序 | Byte Array Endianness | — | The byte order used by numeric read operations. |
| 文字編碼 | Encoding | — | The encoding used by string read operations. |
返回
| 結果 | Input Buffer |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 輸入緩衝區
- 所屬包
- 平臺
空緩衝區
函數Gets an empty immutable byte array.
空緩衝區() -> Input Buffer
ImmutableReadonlyByteArray Empty()
返回
| 結果 | Input Buffer |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 輸入緩衝區
- 所屬包
- 平臺