You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This opens a lot of new possibilities for what can be accepted by the serialize/deserialize APIs. These APIs are necessary for working with very large data. The serialize state API will be changed to accept a ReadOnlySequence<byte> from ReadOnlySpan<byte>. It's underlying implementation will take advantage of the high-performance System.IO.Pipelines Pipe API, the pipe will be cleaned up once the method accepting the state and ReadOnlySequence<byte> is called. There will also be a serialize API accepting the object and an IBufferWriter<byte>. This API will return void and assume the memory management be handled by the code calling the method. These changes will remove the ability to serialize directly to the stack (unless another solution is made for that specifically). Serialization code will need to be changed to a multi-writer design to pull off the versioning properly, the bookmarks will no longer be usable.
The text was updated successfully, but these errors were encountered:
This opens a lot of new possibilities for what can be accepted by the serialize/deserialize APIs. These APIs are necessary for working with very large data. The serialize state API will be changed to accept a
ReadOnlySequence<byte>
fromReadOnlySpan<byte>
. It's underlying implementation will take advantage of the high-performance System.IO.Pipelines Pipe API, the pipe will be cleaned up once the method accepting the state andReadOnlySequence<byte>
is called. There will also be a serialize API accepting the object and anIBufferWriter<byte>
. This API will return void and assume the memory management be handled by the code calling the method. These changes will remove the ability to serialize directly to the stack (unless another solution is made for that specifically). Serialization code will need to be changed to a multi-writer design to pull off the versioning properly, the bookmarks will no longer be usable.The text was updated successfully, but these errors were encountered: