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
I can't convert to Bytes[] by AsBinary because you check string here:
An exception of type 'System.ArgumentException' occurred in MsgPack.dll but was not handled in user code: 'Do not convert System.Byte[] MessagePackObject to MsgPack.MessagePackString.'
at MsgPack.MessagePackObject.VerifyUnderlyingType[T](MessagePackObject instance, String parameterName)
What should I do for reading objects from a stream and just check the object for fixext? (in my stream I also have other types)
Activity
yfakariya commentedon Nov 5, 2017
Thank you for feedback.
stalkerg commentedon Nov 5, 2017
Thanks for answers.
yfakariya commentedon Nov 5, 2017
You can use
MessagePackObject.IsTypeOf<MessagePackExtendedTypeObject>(). Do you use this method to implement your custom serializer?Add unit test for issue #269.
Fix MPO represents ext type returns byte[] type for UnderlyingType pr…
Add test for message error. part of #269.
stalkerg commentedon Nov 6, 2017
Ohh thanks! I just skip it because I expected what
should be same as
stalkerg commentedon Nov 6, 2017
I confirm IsTypeOf for MessagePackExtendedTypeObject is work correctly.
Add unit test for issue #269.
Fix MPO represents ext type returns byte[] type for UnderlyingType pr…
Add test for message error. part of #269.
Add unit test for issue #269.
Fix MPO represents ext type returns byte[] type for UnderlyingType pr…
Add test for message error. part of #269.
Add unit test for issue #269.
Fix MPO represents ext type returns byte[] type for UnderlyingType pr…
Add test for message error. part of #269.