Denotes that a collection of elements is about to be pickled.
Denotes that a collection of elements is about to be pickled.
Note: This must be called after beginEntry()
The length of the collection being serialized.
A pickler which can serialzie the collection.
Called to denote that an object is about to be serialized.
Called to denote that an object is about to be serialized.
The object to be serialized. This may be a primtiive, in which case it can be immediately serialized (or you can wait unitl endEntry is called).
The tag to use when pickling this entry. Tags must be serialized/restored, unless otherwise hinted that it can be elided.
A pbuilder instance a pickler can use to serialize the picklee, if it's a complex type.
Denote that we are done serializing the collection.
Denote that we are done serializing the collection.
Call this to denote that the given primitive, collection or structure being pickled is completed.
Call this to denote that the given primitive, collection or structure being pickled is completed.
Hints to the pickle format that we KNOW the type of this field, so it can elide any type hints from the final pickle.
Hints to the pickle format that we KNOW the type of this field, so it can elide any type hints from the final pickle. During unpickling, this informs the format that it shouldn't look for any type hints in the pickle, but instead use this tag as the unpickle tag key.
Hints at the expected (byte) size of the entry we're about to write..
Hints at the expected (byte) size of the entry we're about to write..
Hints the object id of the next beginEntry
/endEntry
calls.
Hints the object id of the next beginEntry
/endEntry
calls.
If this oid is -1, it implies that the next entry has not been registered in any sharing cache, and should
be pickled fully. If the oid != -1, then the pickle format is free to elide the fields of the entry in
favor of pickling a scala.pickling.refs.Ref.
Hint: This is only used during pickling.
Locks the hints down to what we've specified, so if you drop into anotehr pickler it retains our information.
Locks the hints down to what we've specified, so if you drop into anotehr pickler it retains our information.
Pops to the previously saved set of hints.
Pops to the previously saved set of hints.
Creates a new fresh set of hints, preserving what was hinted before.
Creates a new fresh set of hints, preserving what was hinted before.
Places the next element in the serialized collection.
Places the next element in the serialized collection.
Note: This must be called after beginCollection().
A callback which is passed a pickler able to serialize the item in the collection.
A pickler which can serialize the next element of the collection.
Serialize a "field" in a complex structure/object being pickled.
Serialize a "field" in a complex structure/object being pickled.
The name of the field to serialize.
A callback which will be passed an appropriate pickler. You should ensure this function will perform a beginEntry()/endEntry() block.
A builder for remaining items in the current complex structure being pickled.
Return the resulting pickle of this builder.
Return the resulting pickle of this builder.
Unlocks the hints.
Unlocks the hints.