public readonly struct ContiguousMemoryBuffer : IDisposablePublic Structure ContiguousMemoryBuffer
Implements IDisposable[<SealedAttribute>]
type ContiguousMemoryBuffer =
struct
inherit ValueType
interface IDisposable
end| ContiguousMemoryBuffer | 使用指定的只读字节序列初始化ContiguousMemoryBuffer的新实例。 |
| IsEmpty | 获取一个值,该值指示当前缓冲区是否为空。 |
| IsRentedFromPool | 获取一个值,该值指示是否从内存池租用了新缓冲区。 |
| Length | 获取缓冲区的长度(字节数)。 |
| Memory | 获取连续的内存块。 |
| Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
| Equals | Indicates whether this instance and a specified object are equal. (继承自 ValueType。) |
| GetHashCode | Returns the hash code for this instance. (继承自 ValueType。) |
| GetType | Gets the Type of the current instance. (继承自 Object。) |
| ToString | Returns the fully qualified type name of this instance. (继承自 ValueType。) |
| SafeDispose |
安全性释放(不用判断对象是否为空)。不会抛出任何异常。
(由 SystemExtension 定义。) |
| ToJsonString |
转换为Json
(由 SerializeConvert 定义。) |