public struct BytesReader : IDisposable,
IBytesReaderPublic Structure BytesReader
Implements IDisposable, IBytesReader[<SealedAttribute>]
type BytesReader =
struct
inherit ValueType
interface IDisposable
interface IBytesReader
end| BytesReader(ReadOnlyMemoryByte) | 使用指定的内存块初始化BytesReader的新实例。 |
| BytesReader(ReadOnlySequenceByte) | 使用指定的字节序列初始化BytesReader的新实例。 |
| BytesRead | 获取或设置已读取的字节数。 |
| BytesRemaining | 获取剩余可读取的字节数。 |
| Sequence | 获取当前可读取的字节序列。 |
| TotalSequence | 获取总的字节序列。 |
| Advance | 推进指定数量的字节。 |
| Dispose | 释放BytesReader使用的资源。 |
| Equals | Indicates whether this instance and a specified object are equal. (继承自 ValueType。) |
| GetHashCode | Returns the hash code for this instance. (继承自 ValueType。) |
| GetMemory | 获取指定数量的只读内存字节块。 |
| GetSpan | 获取指定数量的只读字节跨度。 |
| GetType | Gets the Type of the current instance. (继承自 Object。) |
| Read | 读取字节到指定的跨度中。 |
| ToString | Returns the fully qualified type name of this instance. (继承自 ValueType。) |
| Map |
将源对象的属性映射到目标对象的属性中。
(由 Mapper 定义。) |
| Map |
将源对象映射到目标类型的实例。
(由 Mapper 定义。) |
| MapTTarget |
将源对象映射到指定目标类型的新实例。
(由 Mapper 定义。) |
| SafeDispose |
安全性释放(不用判断对象是否为空)。不会抛出任何异常。
(由 SystemExtension 定义。) |
| ToJsonString |
转换为Json
(由 SerializeConvert 定义。) |