fix: Eliminate intermediate string in typecache (#2176)
This commit is contained in:
parent
f0f7d44d4d
commit
4beda6a29d
3 changed files with 21 additions and 19 deletions
|
|
@ -167,7 +167,7 @@ public sealed unsafe class BinaryFileReader : IDisposable, IGenericReader
|
|||
public Serial ReadSerial() => _reader.ReadSerial();
|
||||
|
||||
/// <summary>
|
||||
/// Reads the next Byte which helps determin how to read the following Type.
|
||||
/// Reads the next Byte which helps determine how to read the following Type.
|
||||
/// <br>If the byte returns 1 => <see cref="ReadStringRaw"/> and translate into a Type via the <see cref="AssemblyHandler"/></br>
|
||||
/// <br>If the byte returns 2 => <see cref="UnmanagedDataReader.ReadTypeByHash"/></br>
|
||||
/// <br>else return null</br>
|
||||
|
|
|
|||
|
|
@ -218,7 +218,7 @@ public unsafe class UnmanagedDataReader : IGenericReader
|
|||
public Serial ReadSerial() => (Serial)ReadUInt();
|
||||
|
||||
/// <summary>
|
||||
/// Reads the next Byte which helps determin how to read the following Type.
|
||||
/// Reads the next Byte which helps determine how to read the following Type.
|
||||
/// <br>If the byte returns 1 => <see cref="ReadStringRaw"/> and translate into a Type via the <see cref="AssemblyHandler"/></br>
|
||||
/// <br>If the byte returns 2 => <see cref="ReadTypeByHash"/></br>
|
||||
/// <br>else return null</br>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue