fix(core): Serialization issues (#350)
- [X] Fixes IPAddresses not having enough space - [X] Streamlines some code - [X] Fixes base escortables to not load destination tables in a dangerous way. - [X] Fixes some bad assumptions about resizing buffers - [X] Fixes little endian issue with circular buffer writer This doesn't seem to address #349. That issue requires more investigation because I am not seeing where the issue would be. Closes #347 Closes #322
This commit is contained in:
parent
3acb1414dd
commit
e17413af21
5 changed files with 186 additions and 222 deletions
|
|
@ -39,7 +39,6 @@ namespace Server
|
|||
void Write(double value);
|
||||
void Write(float value);
|
||||
void Write(byte value);
|
||||
void Write(byte[] value, int length);
|
||||
void Write(sbyte value);
|
||||
void Write(bool value);
|
||||
void WriteEncodedInt(int value);
|
||||
|
|
@ -82,6 +81,7 @@ namespace Server
|
|||
void Write(HashSet<BaseGuild> list, bool tidy);
|
||||
void WriteGuildSet<T>(HashSet<T> set) where T : BaseGuild;
|
||||
void WriteGuildSet<T>(HashSet<T> set, bool tidy) where T : BaseGuild;
|
||||
void Write(ReadOnlySpan<byte> bytes);
|
||||
|
||||
long Seek(long offset, SeekOrigin origin);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue