可變位元組陣列構建器
25 個節點
本頁內容 25
可變位元組陣列構建器
函數Creates a new mutable constructive byte array.
過載 1/2
可變位元組陣列構建器() -> Mutable Constructive Byte Array
MutableConstructiveByteArray MutableConstructiveByteArray()
返回
| 可變位元組陣列構建器 | Mutable Constructive Byte Array |
過載 2/2
可變位元組陣列構建器 -> Mutable Constructive Byte Array
位元組序: Byte Array Endianness
文字編碼: EncodingMutableConstructiveByteArray MutableConstructiveByteArray(
ByteArrayEndianness endianness,
Encoding stringEncoding)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 位元組序 | Byte Array Endianness | — | |
| 文字編碼 | Encoding | — |
返回
| 可變位元組陣列構建器 | Mutable Constructive Byte Array |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 事件 例程 狀態機狀態
- 宣告於
- 可變位元組陣列構建器
- 所屬包
- 平臺
清空
函數Clears the current bytes.
清空(Mutable Constructive Byte Array: Mutable Constructive Byte Array) -> Mutable Constructive Byte Array
MutableConstructiveByteArray Clear(MutableConstructiveByteArray Mutable Constructive Byte Array)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Mutable Constructive Byte Array | Mutable Constructive Byte Array | — |
返回
| 結果 | Mutable Constructive Byte Array |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 事件 例程 狀態機狀態
- 宣告於
- 可變位元組陣列構建器
- 所屬包
- 平臺
釋放
函數Disposes this mutable buffer.
釋放(Mutable Constructive Byte Array: Mutable Constructive Byte Array)
void Dispose(MutableConstructiveByteArray Mutable Constructive Byte Array)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Mutable Constructive Byte Array | Mutable Constructive Byte Array | — |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 事件 例程 狀態機狀態
- 宣告於
- 可變位元組陣列構建器
- 所屬包
- 平臺
位元組序
函數Gets the byte order used by numeric write operations.
位元組序(Mutable Constructive Byte Array: Mutable Constructive Byte Array) -> Byte Array Endianness
ByteArrayEndianness Endianness(MutableConstructiveByteArray Mutable Constructive Byte Array)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Mutable Constructive Byte Array | Mutable Constructive Byte Array | — |
返回
| 結果 | Byte Array Endianness |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 事件 例程 狀態機狀態
- 宣告於
- 可變位元組陣列構建器
- 所屬包
- 平臺
是否為空
函數Gets whether this buffer contains no bytes.
是否為空(Mutable Constructive Byte Array: Mutable Constructive Byte Array) -> 真否
bool IsEmpty(MutableConstructiveByteArray Mutable Constructive Byte Array)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Mutable Constructive Byte Array | Mutable Constructive Byte Array | — |
返回
| 結果 | 真否 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 事件 例程 狀態機狀態
- 宣告於
- 可變位元組陣列構建器
- 所屬包
- 平臺
長度
函數Gets the number of bytes currently written.
長度(Mutable Constructive Byte Array: Mutable Constructive Byte Array) -> 整數
int Length(MutableConstructiveByteArray Mutable Constructive Byte Array)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Mutable Constructive Byte Array | Mutable Constructive Byte Array | — |
返回
| 結果 | 整數 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 事件 例程 狀態機狀態
- 宣告於
- 可變位元組陣列構建器
- 所屬包
- 平臺
文字編碼
函數Gets the encoding used by string write operations.
文字編碼(Mutable Constructive Byte Array: Mutable Constructive Byte Array) -> Encoding
Encoding StringEncoding(MutableConstructiveByteArray Mutable Constructive Byte Array)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Mutable Constructive Byte Array | Mutable Constructive Byte Array | — |
返回
| 結果 | Encoding |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 事件 例程 狀態機狀態
- 宣告於
- 可變位元組陣列構建器
- 所屬包
- 平臺
儲存
函數Saves the current bytes to a file.
儲存 -> Mutable Constructive Byte Array
Mutable Constructive Byte Array: Mutable Constructive Byte Array
路徑: 文字MutableConstructiveByteArray Save(
MutableConstructiveByteArray Mutable Constructive Byte Array,
string path)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Mutable Constructive Byte Array | Mutable Constructive Byte Array | — | |
| 路徑 | 文字 | — |
返回
| 結果 | Mutable Constructive Byte Array |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 事件 例程 狀態機狀態
- 宣告於
- 可變位元組陣列構建器
- 所屬包
- 平臺
轉為陣列
函數Returns a copy of the current bytes.
轉為陣列(Mutable Constructive Byte Array: Mutable Constructive Byte Array) -> 位元組陣列
byte[] ToArray(MutableConstructiveByteArray Mutable Constructive Byte Array)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Mutable Constructive Byte Array | Mutable Constructive Byte Array | — |
返回
| 結果 | 位元組陣列 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 事件 例程 狀態機狀態
- 宣告於
- 可變位元組陣列構建器
- 所屬包
- 平臺
轉為不可變位元組陣列
函數Converts this mutable buffer to an immutable constructive byte array.
轉為不可變位元組陣列(Mutable Constructive Byte Array: Mutable Constructive Byte Array) -> Output Buffer
ImmutableConstructiveByteArray ToImmutableConstructiveByteArray(MutableConstructiveByteArray Mutable Constructive Byte Array)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Mutable Constructive Byte Array | Mutable Constructive Byte Array | — |
返回
| 結果 | Output Buffer |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 事件 例程 狀態機狀態
- 宣告於
- 可變位元組陣列構建器
- 所屬包
- 平臺
寫入真否
函數寫入一個真否值,佔一個位元組。
寫入真否 -> Mutable Constructive Byte Array
Mutable Constructive Byte Array: Mutable Constructive Byte Array
值: 真否MutableConstructiveByteArray WriteBool(
MutableConstructiveByteArray Mutable Constructive Byte Array,
bool value)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Mutable Constructive Byte Array | Mutable Constructive Byte Array | — | |
| 值 | 真否 | — |
返回
| 結果 | Mutable Constructive Byte Array |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 事件 例程 狀態機狀態
- 宣告於
- 可變位元組陣列構建器
- 所屬包
- 平臺
寫入位元組
函數寫入一個位元組。
寫入位元組 -> Mutable Constructive Byte Array
Mutable Constructive Byte Array: Mutable Constructive Byte Array
值: 位元組MutableConstructiveByteArray WriteByte(
MutableConstructiveByteArray Mutable Constructive Byte Array,
byte value)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Mutable Constructive Byte Array | Mutable Constructive Byte Array | — | |
| 值 | 位元組 | — |
返回
| 結果 | Mutable Constructive Byte Array |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 事件 例程 狀態機狀態
- 宣告於
- 可變位元組陣列構建器
- 所屬包
- 平臺
寫入多個位元組
函數過載 1/5
寫入多個位元組 -> Mutable Constructive Byte Array
Mutable Constructive Byte Array: Mutable Constructive Byte Array
數量: 整數MutableConstructiveByteArray WriteBytes(
MutableConstructiveByteArray Mutable Constructive Byte Array,
int count)Writes empty zero padding.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Mutable Constructive Byte Array | Mutable Constructive Byte Array | — | |
| 數量 | 整數 | — |
返回
| 結果 | Mutable Constructive Byte Array |
過載 2/5
寫入多個位元組 -> Mutable Constructive Byte Array
Mutable Constructive Byte Array: Mutable Constructive Byte Array
數量: 整數
子塊: Action<Mutable Constructive Byte Array>MutableConstructiveByteArray WriteBytes(
MutableConstructiveByteArray Mutable Constructive Byte Array,
int count,
Action<MutableConstructiveByteArray> subblock)Writes a fixed-size subblock. The continuation writes into the subblock, which is then padded with zeroes up to Count.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Mutable Constructive Byte Array | Mutable Constructive Byte Array | — | |
| 數量 | 整數 | — | |
| 子塊 | Action<Mutable Constructive Byte Array> | — |
返回
| 結果 | Mutable Constructive Byte Array |
過載 3/5
寫入多個位元組 -> Mutable Constructive Byte Array
Mutable Constructive Byte Array: Mutable Constructive Byte Array
源: Mutable Constructive Byte ArrayMutableConstructiveByteArray WriteBytes(
MutableConstructiveByteArray Mutable Constructive Byte Array,
MutableConstructiveByteArray source)Appends another mutable constructive byte array.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Mutable Constructive Byte Array | Mutable Constructive Byte Array | — | |
| 源 | Mutable Constructive Byte Array | — |
返回
| 結果 | Mutable Constructive Byte Array |
過載 4/5
寫入多個位元組 -> Mutable Constructive Byte Array
Mutable Constructive Byte Array: Mutable Constructive Byte Array
源: Output BufferMutableConstructiveByteArray WriteBytes(
MutableConstructiveByteArray Mutable Constructive Byte Array,
ImmutableConstructiveByteArray source)Appends an immutable constructive byte array.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Mutable Constructive Byte Array | Mutable Constructive Byte Array | — | |
| 源 | Output Buffer | — |
返回
| 結果 | Mutable Constructive Byte Array |
過載 5/5
寫入多個位元組 -> Mutable Constructive Byte Array
Mutable Constructive Byte Array: Mutable Constructive Byte Array
源: 位元組陣列MutableConstructiveByteArray WriteBytes(
MutableConstructiveByteArray Mutable Constructive Byte Array,
byte[] source)Appends raw bytes.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Mutable Constructive Byte Array | Mutable Constructive Byte Array | — | |
| 源 | 位元組陣列 | — |
返回
| 結果 | Mutable Constructive Byte Array |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 事件 例程 狀態機狀態
- 宣告於
- 可變位元組陣列構建器
- 所屬包
- 平臺
寫入數字
函數寫入一個 64 位浮點數。
寫入數字 -> Mutable Constructive Byte Array
Mutable Constructive Byte Array: Mutable Constructive Byte Array
值: 數字MutableConstructiveByteArray WriteDouble(
MutableConstructiveByteArray Mutable Constructive Byte Array,
double value)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Mutable Constructive Byte Array | Mutable Constructive Byte Array | — | |
| 值 | 數字 | — |
返回
| 結果 | Mutable Constructive Byte Array |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 事件 例程 狀態機狀態
- 宣告於
- 可變位元組陣列構建器
- 所屬包
- 平臺
寫入低精度數字
函數寫入一個 32 位浮點數。
寫入低精度數字 -> Mutable Constructive Byte Array
Mutable Constructive Byte Array: Mutable Constructive Byte Array
值: 低精度數字MutableConstructiveByteArray WriteFloat(
MutableConstructiveByteArray Mutable Constructive Byte Array,
float value)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Mutable Constructive Byte Array | Mutable Constructive Byte Array | — | |
| 值 | 低精度數字 | — |
返回
| 結果 | Mutable Constructive Byte Array |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 事件 例程 狀態機狀態
- 宣告於
- 可變位元組陣列構建器
- 所屬包
- 平臺
寫入 GUID
函數按 Guid.ToByteArray() 在執行時的位元組表示寫入一個 GUID。
寫入 GUID -> Mutable Constructive Byte Array
Mutable Constructive Byte Array: Mutable Constructive Byte Array
值: GuidMutableConstructiveByteArray WriteGuid(
MutableConstructiveByteArray Mutable Constructive Byte Array,
Guid value)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Mutable Constructive Byte Array | Mutable Constructive Byte Array | — | |
| 值 | Guid | — |
返回
| 結果 | Mutable Constructive Byte Array |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 事件 例程 狀態機狀態
- 宣告於
- 可變位元組陣列構建器
- 所屬包
- 平臺
寫入整數
函數寫入一個 32 位有符號整數。
寫入整數 -> Mutable Constructive Byte Array
Mutable Constructive Byte Array: Mutable Constructive Byte Array
值: 整數MutableConstructiveByteArray WriteInt(
MutableConstructiveByteArray Mutable Constructive Byte Array,
int value)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Mutable Constructive Byte Array | Mutable Constructive Byte Array | — | |
| 值 | 整數 | — |
返回
| 結果 | Mutable Constructive Byte Array |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 事件 例程 狀態機狀態
- 宣告於
- 可變位元組陣列構建器
- 所屬包
- 平臺
寫入大整數
函數寫入一個 64 位有符號整數。
寫入大整數 -> Mutable Constructive Byte Array
Mutable Constructive Byte Array: Mutable Constructive Byte Array
值: 大整數MutableConstructiveByteArray WriteLong(
MutableConstructiveByteArray Mutable Constructive Byte Array,
long value)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Mutable Constructive Byte Array | Mutable Constructive Byte Array | — | |
| 值 | 大整數 | — |
返回
| 結果 | Mutable Constructive Byte Array |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 事件 例程 狀態機狀態
- 宣告於
- 可變位元組陣列構建器
- 所屬包
- 平臺
寫入有符號位元組
函數寫入一個有符號位元組。
寫入有符號位元組 -> Mutable Constructive Byte Array
Mutable Constructive Byte Array: Mutable Constructive Byte Array
值: SByteMutableConstructiveByteArray WriteSByte(
MutableConstructiveByteArray Mutable Constructive Byte Array,
sbyte value)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Mutable Constructive Byte Array | Mutable Constructive Byte Array | — | |
| 值 | SByte | — |
返回
| 結果 | Mutable Constructive Byte Array |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 事件 例程 狀態機狀態
- 宣告於
- 可變位元組陣列構建器
- 所屬包
- 平臺
寫入小整數
函數寫入一個 16 位有符號整數。
寫入小整數 -> Mutable Constructive Byte Array
Mutable Constructive Byte Array: Mutable Constructive Byte Array
值: 小整數MutableConstructiveByteArray WriteShort(
MutableConstructiveByteArray Mutable Constructive Byte Array,
short value)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Mutable Constructive Byte Array | Mutable Constructive Byte Array | — | |
| 值 | 小整數 | — |
返回
| 結果 | Mutable Constructive Byte Array |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 事件 例程 狀態機狀態
- 宣告於
- 可變位元組陣列構建器
- 所屬包
- 平臺
寫入定長文字
函數過載 1/2
寫入定長文字 -> Mutable Constructive Byte Array
Mutable Constructive Byte Array: Mutable Constructive Byte Array
值: 文字MutableConstructiveByteArray WriteStringFixedSize(
MutableConstructiveByteArray Mutable Constructive Byte Array,
string value)Writes a fixed-size string using exactly the encoded byte count of Value.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Mutable Constructive Byte Array | Mutable Constructive Byte Array | — | |
| 值 | 文字 | — |
返回
| 結果 | Mutable Constructive Byte Array |
過載 2/2
寫入定長文字 -> Mutable Constructive Byte Array
Mutable Constructive Byte Array: Mutable Constructive Byte Array
值: 文字
大小: 整數MutableConstructiveByteArray WriteStringFixedSize(
MutableConstructiveByteArray Mutable Constructive Byte Array,
string value,
int size)Writes a fixed-size string padded with zeroes to Size bytes.
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Mutable Constructive Byte Array | Mutable Constructive Byte Array | — | |
| 值 | 文字 | — | |
| 大小 | 整數 | — |
返回
| 結果 | Mutable Constructive Byte Array |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 事件 例程 狀態機狀態
- 宣告於
- 可變位元組陣列構建器
- 所屬包
- 平臺
寫入以零結尾的文字
函數Writes a zero-terminated string.
寫入以零結尾的文字 -> Mutable Constructive Byte Array
Mutable Constructive Byte Array: Mutable Constructive Byte Array
值: 文字MutableConstructiveByteArray WriteStringZeroTerminated(
MutableConstructiveByteArray Mutable Constructive Byte Array,
string value)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Mutable Constructive Byte Array | Mutable Constructive Byte Array | — | |
| 值 | 文字 | — |
返回
| 結果 | Mutable Constructive Byte Array |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 事件 例程 狀態機狀態
- 宣告於
- 可變位元組陣列構建器
- 所屬包
- 平臺
寫入正整數
函數寫入一個 32 位無符號整數。
寫入正整數 -> Mutable Constructive Byte Array
Mutable Constructive Byte Array: Mutable Constructive Byte Array
值: 正整數MutableConstructiveByteArray WriteUInt(
MutableConstructiveByteArray Mutable Constructive Byte Array,
uint value)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Mutable Constructive Byte Array | Mutable Constructive Byte Array | — | |
| 值 | 正整數 | — |
返回
| 結果 | Mutable Constructive Byte Array |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 事件 例程 狀態機狀態
- 宣告於
- 可變位元組陣列構建器
- 所屬包
- 平臺
寫入大正整數
函數寫入一個 64 位無符號整數。
寫入大正整數 -> Mutable Constructive Byte Array
Mutable Constructive Byte Array: Mutable Constructive Byte Array
值: 大正整數MutableConstructiveByteArray WriteULong(
MutableConstructiveByteArray Mutable Constructive Byte Array,
ulong value)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Mutable Constructive Byte Array | Mutable Constructive Byte Array | — | |
| 值 | 大正整數 | — |
返回
| 結果 | Mutable Constructive Byte Array |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 事件 例程 狀態機狀態
- 宣告於
- 可變位元組陣列構建器
- 所屬包
- 平臺
寫入小正整數
函數寫入一個 16 位無符號整數。
寫入小正整數 -> Mutable Constructive Byte Array
Mutable Constructive Byte Array: Mutable Constructive Byte Array
值: 小正整數MutableConstructiveByteArray WriteUShort(
MutableConstructiveByteArray Mutable Constructive Byte Array,
ushort value)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Mutable Constructive Byte Array | Mutable Constructive Byte Array | — | |
| 值 | 小正整數 | — |
返回
| 結果 | Mutable Constructive Byte Array |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 事件 例程 狀態機狀態
- 宣告於
- 可變位元組陣列構建器
- 所屬包
- 平臺