scala.pickling.binary

BinaryPickleBuilder

class BinaryPickleBuilder extends BinaryPBuilder with PickleTools

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. BinaryPickleBuilder
  2. PickleTools
  3. BinaryPBuilder
  4. PBuilder
  5. Hintable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BinaryPickleBuilder(format: BinaryPickleFormat, out: BinaryOutput)

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def areHintsPinned: Boolean

    Definition Classes
    PickleTools
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def beginCollection(length: Int): PBuilder

    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()

    length

    The length of the collection being serialized.

    returns

    A pickler which can serialzie the collection.

    Definition Classes
    BinaryPickleBuilderPBuilder
    Annotations
    @inline()
  9. def beginEntry(picklee: Any): PBuilder

    Called to denote that an object is about to be serialized.

    Called to denote that an object is about to be serialized.

    picklee

    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).

    returns

    A pbuilder instance a pickler can use to serialize the picklee, if it's a complex type.

    Definition Classes
    BinaryPickleBuilderPBuilder
    Annotations
    @inline()
  10. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def endCollection(): Unit

    Denote that we are done serializing the collection.

    Denote that we are done serializing the collection.

    Definition Classes
    BinaryPickleBuilderPBuilder
    Annotations
    @inline()
  12. def endEntry(): Unit

    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.

    Definition Classes
    BinaryPickleBuilderPBuilder
    Annotations
    @inline()
  13. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  18. def hintDynamicallyElidedType(): BinaryPickleBuilder.this.type

    Definition Classes
    PickleTools
  19. def hintKnownSize(knownSize: Int): BinaryPickleBuilder.this.type

    Definition Classes
    PickleTools
  20. def hintOid(oid: Int): BinaryPickleBuilder.this.type

    Definition Classes
    PickleTools
  21. def hintStaticallyElidedType(): BinaryPickleBuilder.this.type

    Definition Classes
    PickleTools
  22. def hintTag(tag: FastTypeTag[_]): BinaryPickleBuilder.this.type

    Definition Classes
    PickleTools
  23. var hints: List[Hints]

    Attributes
    protected
    Definition Classes
    PickleTools
  24. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  25. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  26. final def notify(): Unit

    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  28. def pinHints(): BinaryPickleBuilder.this.type

    Definition Classes
    PickleTools
  29. def popHints(): BinaryPickleBuilder.this.type

    Definition Classes
    PickleTools
  30. def pushHints(): BinaryPickleBuilder.this.type

    Definition Classes
    PickleTools
  31. def putElement(pickler: (PBuilder) ⇒ Unit): PBuilder

    Places the next element in the serialized collection.

    Places the next element in the serialized collection.

    Note: This must be called after beginCollection().

    pickler

    A callback which is passed a pickler able to serialize the item in the collection.

    returns

    A pickler which can serialize the next element of the collection.

    Definition Classes
    BinaryPickleBuilderPBuilder
    Annotations
    @inline()
  32. def putField(name: String, pickler: (PBuilder) ⇒ Unit): PBuilder

    Serialize a "field" in a complex structure/object being pickled.

    Serialize a "field" in a complex structure/object being pickled.

    name

    The name of the field to serialize.

    pickler

    A callback which will be passed an appropriate pickler. You should ensure this function will perform a beginEntry()/endEntry() block.

    returns

    A builder for remaining items in the current complex structure being pickled.

    Definition Classes
    BinaryPickleBuilderPBuilder
    Annotations
    @inline()
  33. def result(): BinaryPickle

    Return the resulting pickle of this builder.

    Return the resulting pickle of this builder.

    Definition Classes
    BinaryPickleBuilderBinaryPBuilderPBuilder
    Annotations
    @inline()
  34. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  35. def toString(): String

    Definition Classes
    AnyRef → Any
  36. def unpinHints(): BinaryPickleBuilder.this.type

    Definition Classes
    PickleTools
  37. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. def withHints[T](body: (Hints) ⇒ T): T

    Definition Classes
    PickleTools

Inherited from PickleTools

Inherited from BinaryPBuilder

Inherited from PBuilder

Inherited from Hintable

Inherited from AnyRef

Inherited from Any

Ungrouped