com.fsist.safepickle.PrimitivePicklersMixin
Should write the value t
to the writer
.
Should write the value t
to the writer
. If the type T
contains sub-types for which we have sub-picklers,
they should be used by calling writer.write[T](pickler)
for those types.
WARNING: do not call this method directly; use PickleWriter.write
with this pickler instead.
If writing an object, and this argument is true, the pickler will write an ObjectStart token. If false, it will assume an object scope has already been opened, and start emitting attributes.
A schema describing the pickled form generated by this pickler.
A schema describing the pickled form generated by this pickler.
A type tag for T
.
A type tag for T
. This is used only for implementing typeName
; runtime reflection is never used.
The full name of the type T
.
The full name of the type T
.
Should read and parse the reader's current token without advancing it.
Should read and parse the reader's current token without advancing it. If the type T
contains sub-types for
which we have sub-picklers, they should be used by calling reader.read[T](pickler)
for those types.
If reading a complex value (object, array) or a series of values, consisting of multiple Reader tokens, should assume the current token when called is the first token to be read, and should leave the last token that was read and processed as the current token.
WARNING: do not call this method directly; use PickleReader.read
with this pickler instead.
if reading an object, and this argument is true, expect the current reader token to be the object start. If it is false, expect the current token to be the first attribute name inside the object. If not reading an object, ignore this argument.
UnpicklingException
if the reader provides unexpected input
Byte array pickler that writes the base64 value of the array as a string.