点击或拖拽改变大小

SoftBuffer 方法

SoftBuffer 类型公开以下成员。

方法
  名称说明
公共方法Dispose
受保护的方法Dispose(Boolean)
释放当前的对象
公共方法Equals (继承自 Object。)
受保护的方法Finalize (继承自 Object。)
公共方法GetBool(Int32)
获取指定的位置的bool值,如果超出,则引发异常
Get the bool value at the specified position, if it exceeds, an exception is thrown
公共方法GetBool(Int32, Int32)
获取指定位置的bool数组值,如果超过,则引发异常
Get the bool array value at the specified position, if it exceeds, an exception is thrown
公共方法GetByte
获取byte类型的数据
Get byte data
公共方法GetBytes
获取内存所有的数据信息
Get all data information in memory
公共方法GetBytes(Int32, Int32)
获取内存指定长度的数据信息
Get data information of specified length in memory
公共方法GetCustomerT
读取自定义类型的数据,需要规定解析规则
Read custom types of data, need to specify the parsing rules
公共方法GetDouble(Int32)
获取double类型的数据到缓存区
Get double type data to cache
公共方法GetDouble(Int32, Int32)
获取double类型的数组到缓存区
Get double type array to cache
公共方法GetHashCode (继承自 Object。)
公共方法GetInt16(Int32)
获取short类型的数据到缓存区
Get short data to the cache
公共方法GetInt16(Int32, Int32)
获取short类型的数组到缓存区
Get short type array to cache
公共方法GetInt32(Int32)
获取int类型的数据到缓存区
Get int type data to cache
公共方法GetInt32(Int32, Int32)
获取int类型的数组到缓存区
Get int type array to cache
公共方法GetInt64(Int32)
获取long类型的数据到缓存区
Get long type data to cache
公共方法GetInt64(Int32, Int32)
获取long类型的数组到缓存区
Get long type array to cache
公共方法GetSingle(Int32)
获取float类型的数据到缓存区
Get float type data to cache
公共方法GetSingle(Int32, Int32)
获取float类型的数组到缓存区
Get float type array to cache
公共方法GetType (继承自 Object。)
公共方法GetUInt16(Int32)
获取ushort类型的数据到缓存区
Get ushort type data to cache
公共方法GetUInt16(Int32, Int32)
获取ushort类型的数组到缓存区
Get ushort type array to cache
公共方法GetUInt32(Int32)
获取uint类型的数据到缓存区
Get uint type data to cache
公共方法GetUInt32(Int32, Int32)
获取uint类型的数组到缓存区
Get uint type array to cache
公共方法GetUInt64(Int32)
获取ulong类型的数据到缓存区
Get ulong type data to cache
公共方法GetUInt64(Int32, Int32)
获取ulong类型的数组到缓存区
Get ulong type array to cache
受保护的方法MemberwiseClone (继承自 Object。)
公共方法SetBool(Boolean, Int32)
设置指定的位置bool值,如果超出,则丢弃数据,该位置是指按照位为单位排序的
Set the bool value at the specified position, if it is exceeded, the data is discarded, the position refers to sorting in units of bits
公共方法SetBool(Boolean, Int32)
设置指定的位置的bool数组,如果超出,则丢弃数据,该位置是指按照位为单位排序的
Set the bool array at the specified position, if it is exceeded, the data is discarded, the position refers to sorting in units of bits
公共方法SetBytes(Byte, Int32)
设置指定的位置的数据块,如果超出,则丢弃数据
Set the data block at the specified position, if it is exceeded, the data is discarded
公共方法SetBytes(Byte, Int32, Int32)
设置指定的位置的数据块,如果超出,则丢弃数据 Set the data block at the specified position, if it is exceeded, the data is discarded
公共方法SetBytes(Byte, Int32, Int32, Int32)
设置指定的位置的数据块,如果超出,则丢弃数据
Set the data block at the specified position, if it is exceeded, the data is discarded
公共方法SetCustomerT
写入自定义类型的数据到缓存中去,需要规定生成字节的方法
Write custom type data to the cache, need to specify the method of generating bytes
公共方法SetValue(Byte, Int32)
设置byte类型的数据到缓存区
Set byte type data to the cache area
公共方法SetValue(Double, Int32)
设置double类型的数据到缓存区
Set double type data to the cache area
公共方法SetValue(Double, Int32)
设置double数组的数据到缓存区
Set double array data to the cache area
公共方法SetValue(Int16, Int32)
设置short类型的数据到缓存区
Set short type data to the cache area
公共方法SetValue(Int16, Int32)
设置short数组的数据到缓存区
Set short array data to the cache area
公共方法SetValue(Int32, Int32)
设置int类型的数据到缓存区
Set int type data to the cache area
公共方法SetValue(Int32, Int32)
设置int数组的数据到缓存区
Set int array data to the cache area
公共方法SetValue(Int64, Int32)
设置long类型的数据到缓存区
Set long type data to the cache area
公共方法SetValue(Int64, Int32)
设置long数组的数据到缓存区
Set long array data to the cache area
公共方法SetValue(Single, Int32)
设置float类型的数据到缓存区
Set float type data to the cache area
公共方法SetValue(Single, Int32)
设置float数组的数据到缓存区
Set float array data to the cache area
公共方法SetValue(UInt16, Int32)
设置ushort类型的数据到缓存区
Set ushort type data to the cache area
公共方法SetValue(UInt16, Int32)
设置ushort数组的数据到缓存区
Set ushort array data to the cache area
公共方法SetValue(UInt32, Int32)
设置uint类型的数据到缓存区
Set uint byte data to the cache area
公共方法SetValue(UInt32, Int32)
设置uint数组的数据到缓存区
Set uint array data to the cache area
公共方法SetValue(UInt64, Int32)
设置ulong类型的数据到缓存区
Set ulong byte data to the cache area
公共方法SetValue(UInt64, Int32)
设置ulong数组的数据到缓存区
Set long array data to the cache area
公共方法ToString (重写 ObjectToString.)
Top
扩展方法
  名称说明
公共扩展器方法ToJsonString
获取当前对象的JSON格式表示的字符串。
Gets the string represented by the JSON format of the current object.
(由 HslExtension 定义。)
Top
参见