class Serializer extends Object with StObject
- Annotations
- @JSType() @JSImport("v8", "Serializer") @native()
- Source
- v8Mod.scala
- Alphabetic
- By Inheritance
- Serializer
- StObject
- Object
- Any
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Serializer()
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hasOwnProperty(v: scala.Predef.String): Boolean
- Definition Classes
- Object
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isPrototypeOf(v: Object): Boolean
- Definition Classes
- Object
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def propertyIsEnumerable(v: scala.Predef.String): Boolean
- Definition Classes
- Object
- 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.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toLocaleString(): scala.Predef.String
- Definition Classes
- Object
- def toString(): java.lang.String
- Definition Classes
- AnyRef → Any
- 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().
- def valueOf(): Any
- Definition Classes
- Object
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def writeDouble(value: Double): Unit
Write a JS number value.
- def writeHeader(): Unit
Writes out a header, which includes the serialization format version.
- 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.
- def writeUint32(value: Double): Unit
Write a raw 32-bit unsigned integer.
- def writeUint64(hi: Double, lo: Double): Unit
Write a raw 64-bit unsigned integer, split into high and low 32-bit parts.
- 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.
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated