This repository has been archived by the owner on Feb 8, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Request #19: Rework WireFormat to support serialization.
- Rewrite wire-format encoding and decoding to use zero-copy buffer (based on ArraySegment) to minimize memory copies and limit object allocations. - Add full WireFormat unit test suite. - Rename Froto.Core.IO to Froto.Core.WireFormat.
- Loading branch information
Showing
14 changed files
with
883 additions
and
305 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace Froto.Core | ||
|
||
/// Exception encoding or decoding a Protobuf wireformat | ||
type ProtobufWireFormatException (message:string, ?innerException:exn) = | ||
inherit System.ApplicationException( message, defaultArg innerException null ) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.