From 7d779c5ec5e927edc4863afe2869c384cf257a78 Mon Sep 17 00:00:00 2001 From: Ben Clark Date: Mon, 11 Mar 2024 14:20:40 -0400 Subject: [PATCH] fix `extserialize` example --- src/types.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types.jl b/src/types.jl index 26c37eb..bcd0ca2 100644 --- a/src/types.jl +++ b/src/types.jl @@ -372,7 +372,7 @@ julia> struct Point{T} julia> val = [Point(rand(), rand()) for _ in 1:100]; -julia> bytes = MsgPack.pack(MsgPack.extserialize(123, x)); +julia> bytes = MsgPack.pack(MsgPack.extserialize(123, val)); julia> type, new_val = MsgPack.extdeserialize(MsgPack.unpack(bytes));