Skip to content

More than one object in a stream ... #93

Open

Description

@KDGundermann

.NET 4.7.1 and v1.3.4
.NET Core 3.0 and v.2.0.1

Steps to Reproduce:
ApexTest

Expected Behavior:
Serialize and Deserialize two objects

Actual Behavior:
Runtime Error: System.InvalidOperationException: in CheckSize

I've tried to send a stream of Objects over a NetworkStream to another system,
but it crashes after a few objects.

Is this a bug or by design ??

Activity

  1. dbolin commented on Aug 4, 2020

    @dbolin
    Owner

    This isn't currently supported - it shouldn't be too hard to add though, so leave this issue open.

    Until then, a simple workaround is to just wrap the objects in an array or another object.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions