StringHelper.ThreadSafeEncoding
Type JSONpublic class in <global>
Type metadata
- Assembly
Romestead - Namespace
<global> - Base type
System.Object - Interfaces
System.IDisposable - Hash
3E0C9CE982018895CC5571A10771600E8C40EDA66596717F30B5499E1BF5798E
Relationships
Fields
| Name | Visibility | Signature |
|---|---|---|
decodedBuffer# | private | private System.Char[] decodedBuffer |
encodedBuffer# | private | private System.Byte[] encodedBuffer |
encoding# | private | private System.Text.UTF8Encoding encoding |
gcHandle# | private | private System.Runtime.InteropServices.GCHandle gcHandle |
inUse# | private | private System.Boolean inUse |
Methods
byteFromStringUTF8
#
public System.Byte[] byteFromStringUTF8(System.String s)
Method metadata
- Visibilitypublic
- Return type
System.Byte[] - StaticFalse
- VirtualFalse
- Hash
3B8734A508A1050AA3FEE2EDFBDCA3F033E877232C76674497C1CD675DD3B16B - Body hash
8C0184E0C1570B41CA33633F6F088FF8423F7F68BE5B593968243A639B07CA9E - IL size121
Referenced calls
System.String::get_Length()System.Text.Encoding::GetMaxByteCount(System.Int32)System.Text.Encoding::GetByteCount(System.String)StringHelper.ThreadSafeEncoding::roundUpPowerTwo(System.Int32)System.Text.Encoding::GetBytes(System.String, System.Int32, System.Int32, System.Byte[], System.Int32)
Called by
FMOD.FmodDebugStruct::InitializeFMOD.Sound::addSyncPointFMOD.Sound::getTagFMOD.Studio.CommandReplay::setBankPathFMOD.Studio.EventDescription::getParameterDescriptionByNameFMOD.Studio.EventDescription::getParameterLabelByNameFMOD.Studio.EventDescription::getUserPropertyFMOD.Studio.EventInstance::getParameterByNameFMOD.Studio.EventInstance::setParameterByIDWithLabelFMOD.Studio.EventInstance::setParameterByNameFMOD.Studio.EventInstance::setParameterByNameWithLabelFMOD.Studio.System::getBankFMOD.Studio.System::getBusFMOD.Studio.System::getEventFMOD.Studio.System::getParameterByNameFMOD.Studio.System::getParameterDescriptionByNameFMOD.Studio.System::getParameterLabelByNameFMOD.Studio.System::getSoundInfoFMOD.Studio.System::getVCAFMOD.Studio.System::loadBankFileFMOD.Studio.System::loadCommandReplayFMOD.Studio.System::lookupIDFMOD.Studio.System::setParameterByIDWithLabelFMOD.Studio.System::setParameterByNameFMOD.Studio.System::setParameterByNameWithLabelFMOD.Studio.System::startCommandCaptureFMOD.Studio.Util::parseIDFMOD.System::createChannelGroupFMOD.System::createSoundFMOD.System::createSoundGroupFMOD.System::createStreamFMOD.System::loadPlugin
Dispose
#
public System.Void Dispose()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
2DB945D2465ECF0F412D08B3D2DE47D48BAD69476940743A5F5B55F44BAE4CDB - Body hash
938D9A8BF4D3B17376ADC0B3B5CD6D79F8F78F9CA94A3138059FCE2E9FDE8A6B - 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 type
System.IntPtr - StaticFalse
- VirtualFalse
- Hash
8532575F4E4B7061C71BDBD6B57CC66C1086A2FE9562A6B5CEE963ED8301D714 - Body hash
71E3007E49B7999EEC39D9AA63C0D3FCE9C24CABB0A3E81D724CE78E36516CEE - IL size40
Referenced calls
StringHelper.ThreadSafeEncoding::byteFromStringUTF8(System.String)System.Runtime.InteropServices.GCHandle::Alloc(System.Object, System.Runtime.InteropServices.GCHandleType)System.Runtime.InteropServices.GCHandle::AddrOfPinnedObject()
Called by
InUse
#
public System.Boolean InUse()
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticFalse
- VirtualFalse
- Hash
6A595730DCA682BAFD7FAC24035356BA09B28FF9AC245389C532FF2D1E761B8F - Body hash
C56B8EDBAA764D813A5C257FD65C06FAC3D0E90151F6294FDFA371AF541E08DE - IL size7
Called by
roundUpPowerTwo
#
private System.Int32 roundUpPowerTwo(System.Int32 number)
Method metadata
- Visibilityprivate
- Return type
System.Int32 - StaticFalse
- VirtualFalse
- Hash
EB09B7E7615431ABE57146B48B76683D5C5B7B05BF304B1E4BBEF93601DF22B1 - Body hash
0338F39D00A53B65D494DDD6031BF5D6528A4794DDB77767DAE9CE29201B8160 - IL size14
SetInUse
#
public System.Void SetInUse()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
4998B6501D714B55F979714E7F6092F44255F9C78D842DFBD725E9E5E316B6EB - Body hash
BB4A3BCF54F16A80DB58CEB6D0416D262D86B31019C1F627F4D1BDC2205C9B43 - IL size8
Called by
stringFromNative
#
public System.String stringFromNative(System.IntPtr nativePtr)
Method metadata
- Visibilitypublic
- Return type
System.String - StaticFalse
- VirtualFalse
- Hash
1F10D2E85A42BE3E63E0692DA5A7DA7BD3603E761369C9C9BC026EA9D2CB9EB2 - Body hash
F39EF40B04BBB0355451C9D17EF619F3B781CD0382F070E1E2473FC6B5082182 - 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
FMOD.ChannelGroup::getNameFMOD.DSP::getInfoFMOD.Sound::getNameFMOD.Sound::getSyncPointInfoFMOD.SoundGroup::getNameFMOD.Studio.Bank::getPathFMOD.Studio.Bank::getStringInfoFMOD.Studio.Bus::getPathFMOD.Studio.CommandReplay::getCommandStringFMOD.Studio.EventDescription::getParameterLabelByIDFMOD.Studio.EventDescription::getParameterLabelByIndexFMOD.Studio.EventDescription::getParameterLabelByNameFMOD.Studio.EventDescription::getPathFMOD.Studio.System::getParameterLabelByIDFMOD.Studio.System::getParameterLabelByNameFMOD.Studio.System::lookupPathFMOD.Studio.VCA::getPathFMOD.System::getDriverInfoFMOD.System::getNetworkProxyFMOD.System::getPluginInfoFMOD.System::getRecordDriverInfo