Class CachingMetadataStringDecoder
MetadataReader string decoder that caches and reuses strings rather than allocating
on each call to MetadataReader.GetString(handle).
Safe to use from multiple threads and lock free.
Inheritance
System.Object
CachingMetadataStringDecoder
Assembly: IL2CPU.Debug.Symbols.Net48.dll
public sealed class CachingMetadataStringDecoder : MetadataStringDecoder
Constructors
|
Improve this Doc
View Source
Declaration
public CachingMetadataStringDecoder(int size)
Parameters
Type |
Name |
Description |
System.Int32 |
size |
|
Methods
|
Improve this Doc
View Source
Declaration
public override string GetString(byte *bytes, int byteCount)
Parameters
Type |
Name |
Description |
System.Byte* |
bytes |
|
System.Int32 |
byteCount |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Declaration
public string Lookup(string s)
Parameters
Type |
Name |
Description |
System.String |
s |
|
Returns
Type |
Description |
System.String |
|