输入缓冲区
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 |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 输入缓冲区
- 所属包
- 平台