Packages

c

fs2.internal.jsdeps.node.v8Mod

DefaultSerializer

class DefaultSerializer extends Serializer

A subclass of Serializer that serializes TypedArray (in particular Buffer) and DataView objects as host objects, and only stores the part of their underlying ArrayBuffers that they are referring to.

Annotations
@JSType() @JSImport("v8", "DefaultSerializer") @native()
Source
v8Mod.scala
Linear Supertypes
Serializer, StObject, Object, Any, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DefaultSerializer
  2. Serializer
  3. StObject
  4. Object
  5. Any
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new DefaultSerializer()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  9. def hasOwnProperty(v: scala.Predef.String): Boolean
    Definition Classes
    Object
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  16. def propertyIsEnumerable(v: scala.Predef.String): Boolean
    Definition Classes
    Object
  17. def releaseBuffer(): Buffer

    Returns the stored internal buffer.

    Returns the stored internal buffer. This serializer should not be used once the buffer is released. Calling this method results in undefined behavior if a previous write has failed.

    Definition Classes
    Serializer
  18. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  19. def toLocaleString(): scala.Predef.String
    Definition Classes
    Object
  20. def toString(): java.lang.String
    Definition Classes
    AnyRef → Any
  21. def transferArrayBuffer(id: Double, arrayBuffer: ArrayBuffer): Unit

    Marks an ArrayBuffer as having its contents transferred out of band.\ Pass the corresponding ArrayBuffer in the deserializing context to deserializer.transferArrayBuffer().

    Marks an ArrayBuffer as having its contents transferred out of band.\ Pass the corresponding ArrayBuffer in the deserializing context to deserializer.transferArrayBuffer().

    Definition Classes
    Serializer
  22. def valueOf(): Any
    Definition Classes
    Object
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. def writeDouble(value: Double): Unit

    Write a JS number value.

    Write a JS number value.

    Definition Classes
    Serializer
  27. def writeHeader(): Unit

    Writes out a header, which includes the serialization format version.

    Writes out a header, which includes the serialization format version.

    Definition Classes
    Serializer
  28. def writeRawBytes(buffer: TypedArray): Unit

    Write raw bytes into the serializer’s internal buffer.

    Write raw bytes into the serializer’s internal buffer. The deserializer will require a way to compute the length of the buffer.

    Definition Classes
    Serializer
  29. def writeUint32(value: Double): Unit

    Write a raw 32-bit unsigned integer.

    Write a raw 32-bit unsigned integer.

    Definition Classes
    Serializer
  30. def writeUint64(hi: Double, lo: Double): Unit

    Write a raw 64-bit unsigned integer, split into high and low 32-bit parts.

    Write a raw 64-bit unsigned integer, split into high and low 32-bit parts.

    Definition Classes
    Serializer
  31. def writeValue(val: Any): Boolean

    Serializes a JavaScript value and adds the serialized representation to the internal buffer.

    Serializes a JavaScript value and adds the serialized representation to the internal buffer. This throws an error if value cannot be serialized.

    Definition Classes
    Serializer

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Serializer

Inherited from StObject

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped