Romestead Assembly Reference

StringHelper.ThreadSafeEncoding

Type JSON

public class in <global>

Methods7
Properties0
Fields5
Events0
Type metadata
  • AssemblyRomestead
  • Namespace<global>
  • Base typeSystem.Object
  • InterfacesSystem.IDisposable
  • Hash3E0C9CE982018895CC5571A10771600E8C40EDA66596717F30B5499E1BF5798E

Relationships

Base type

System.Object

Interfaces

  • System.IDisposable

Fields

NameVisibilitySignature
decodedBufferprivateprivate System.Char[] decodedBuffer
encodedBufferprivateprivate System.Byte[] encodedBuffer
encodingprivateprivate System.Text.UTF8Encoding encoding
gcHandleprivateprivate System.Runtime.InteropServices.GCHandle gcHandle
inUseprivateprivate System.Boolean inUse

Methods

byteFromStringUTF8

public System.Byte[] byteFromStringUTF8(System.String s)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Byte[]
  • StaticFalse
  • VirtualFalse
  • Hash3B8734A508A1050AA3FEE2EDFBDCA3F033E877232C76674497C1CD675DD3B16B
  • Body hash8C0184E0C1570B41CA33633F6F088FF8423F7F68BE5B593968243A639B07CA9E
  • IL size121
Referenced calls
Called by

Dispose

public System.Void Dispose()

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • Hash2DB945D2465ECF0F412D08B3D2DE47D48BAD69476940743A5F5B55F44BAE4CDB
  • Body hash938D9A8BF4D3B17376ADC0B3B5CD6D79F8F78F9CA94A3138059FCE2E9FDE8A6B
  • IL size60
Referenced calls
  • System.Runtime.InteropServices.GCHandle::get_IsAllocated()
  • System.Runtime.InteropServices.GCHandle::Free()
  • System.Threading.Monitor::Enter(System.Object, System.Boolean&)
  • System.Threading.Monitor::Exit(System.Object)

intptrFromStringUTF8

public System.IntPtr intptrFromStringUTF8(System.String s)

Method metadata
  • Visibilitypublic
  • Return typeSystem.IntPtr
  • StaticFalse
  • VirtualFalse
  • Hash8532575F4E4B7061C71BDBD6B57CC66C1086A2FE9562A6B5CEE963ED8301D714
  • Body hash71E3007E49B7999EEC39D9AA63C0D3FCE9C24CABB0A3E81D724CE78E36516CEE
  • IL size40
Referenced calls
Called by

InUse

public System.Boolean InUse()

Method metadata
  • Visibilitypublic
  • Return typeSystem.Boolean
  • StaticFalse
  • VirtualFalse
  • Hash6A595730DCA682BAFD7FAC24035356BA09B28FF9AC245389C532FF2D1E761B8F
  • Body hashC56B8EDBAA764D813A5C257FD65C06FAC3D0E90151F6294FDFA371AF541E08DE
  • IL size7
Called by

SetInUse

public System.Void SetInUse()

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • Hash4998B6501D714B55F979714E7F6092F44255F9C78D842DFBD725E9E5E316B6EB
  • Body hashBB4A3BCF54F16A80DB58CEB6D0416D262D86B31019C1F627F4D1BDC2205C9B43
  • IL size8
Called by

stringFromNative

public System.String stringFromNative(System.IntPtr nativePtr)

Method metadata
  • Visibilitypublic
  • Return typeSystem.String
  • StaticFalse
  • VirtualFalse
  • Hash1F10D2E85A42BE3E63E0692DA5A7DA7BD3603E761369C9C9BC026EA9D2CB9EB2
  • Body hashF39EF40B04BBB0355451C9D17EF619F3B781CD0382F070E1E2473FC6B5082182
  • IL size195
Referenced calls
  • System.Runtime.InteropServices.Marshal::ReadByte(System.IntPtr, System.Int32)
  • StringHelper.ThreadSafeEncoding::roundUpPowerTwo(System.Int32)
  • System.Runtime.InteropServices.Marshal::Copy(System.IntPtr, System.Byte[], System.Int32, System.Int32)
  • System.Text.Encoding::GetMaxCharCount(System.Int32)
  • System.Text.Encoding::GetCharCount(System.Byte[], System.Int32, System.Int32)
  • System.Text.Encoding::GetChars(System.Byte[], System.Int32, System.Int32, System.Char[], System.Int32)
  • System.String::.ctor(System.Char[], System.Int32, System.Int32)
Called by