Commit Graph

7 Commits

Author SHA1 Message Date
Ben Marsh
6b226011d7 Change EpicGames.Serialization library to match standard coding style.
#preflight none

[CL 19501703 by Ben Marsh in ue5-main branch]
2022-03-24 15:56:16 -04:00
Ben Marsh
9e6e68ba17 CS: Add overloads for commonly serialized compact binary types.
#preflight 61e4a67d7b0f77175a5d6621

[CL 18630220 by Ben Marsh in ue5-main branch]
2022-01-16 18:26:30 -05:00
Ben Marsh
e1cb80903f Horde: Fix tests in serialization library.
#fyi Ryan.Durand

[CL 18271689 by Ben Marsh in ue5-main branch]
2021-11-23 12:18:30 -05:00
Ben Marsh
77210c0efc Horde: Fix DateTime CB serialization tests.
[CL 17368297 by Ben Marsh in ue5-main branch]
2021-08-31 10:56:03 -04:00
Ben Marsh
a855dca4ea Rename ReadOnlyUtf8String to Utf8String. Strings are always immutable in C#.
[CL 16807051 by Ben Marsh in ue5-main branch]
2021-07-02 12:16:55 -04:00
Ben Marsh
7e3b00497a Horde: Various compact binary library improvements.
CbObject/CbBinary/CbArray:
* Added proxy classes for viewing objects in the debugger. CbArray now displays as an array, CbObject displays as an array of fields, etc...
* Removed overloaded "View" methods, which are not required in C# due to GC.

CbWriter:
* Significantly fewer memory allocations/copying. Output buffer is now allocated in large chunks, with length fields only inserted when copying to the final output buffer.
* Methods for writing named/unnamed fields are now more idomatic with other C# serialization classes (ie. WriteXXX(Name, Value) and WriteXXXValue(Value)).

Other:
* Added serialization tests to Horde projects and fixed NuGet dependencies.

[CL 16804192 by Ben Marsh in ue5-main branch]
2021-07-01 09:12:10 -04:00
Ben Marsh
c7bcab5731 Add C# compact binary library. Includes almost all functionality from C++ library, and test suite.
[CL 16703410 by Ben Marsh in ue5-main branch]
2021-06-17 08:22:02 -04:00