Skip to content

MessagePackSerializer.Typeless.Deserialize requires Memory instead of ReadOnlyMemory #1958

Description

@jhimes144

Bug description

MessagePackSerializer.Typeless.Deserialize requires Memory instead of ReadOnlyMemory. I'm assuming that MessagePackSerializer.Typeless.Deserialize does not modify the buffer therefore the signature should call for a ReadOnlyMemory instance, not Memory.

Repro steps

N/A

Expected behavior

MessagePackSerializer.Typeless.Deserialize signature asks for ReadOnlyMemory

Actual behavior

MessagePackSerializer.Typeless.Deserialize signature asks for Memory

  • Version used: 2.5.172
  • Runtime: .Net 8.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions