File tree Expand file tree Collapse file tree
msgpack-core/src/test/scala/org/msgpack/core
msgpack-value/src/main/java/org/msgpack/value Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -76,6 +76,7 @@ class MessageUnpackerTest extends MessagePackSpec {
7676 case ValueType .EOF =>
7777 debug(s " reached EOF " )
7878 case other =>
79+ unpacker.skipValue();
7980 debug(s " unknown type: $f" )
8081 }
8182 }
Original file line number Diff line number Diff line change 1717
1818import java .io .IOException ;
1919import org .msgpack .core .ValueType ;
20- import org .msgpack .core .Packer ;
20+ import org .msgpack .core .MessagePacker ;
2121
2222public interface Value {
2323 public ValueType getType ();
@@ -68,7 +68,7 @@ public interface Value {
6868
6969 public ExtendedValue asExtendedValue ();
7070
71- public void writeTo (Packer pk ) throws IOException ;
71+ public void writeTo (MessagePacker pk ) throws IOException ;
7272
7373 //public void accept(ValueVisitor visitor);
7474}
You can’t perform that action at this time.
0 commit comments