class DefaultDeserializer extends v8Mod.DefaultDeserializer
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("node:v8", "DefaultDeserializer") @native()
- Source
- nodeV8Mod.scala
- Alphabetic
- By Inheritance
- DefaultDeserializer
- DefaultDeserializer
- Deserializer
- StObject
- Object
- Any
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new DefaultDeserializer(data: TypedArray)
- new DefaultDeserializer()
- Attributes
- protected
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 getWireFormatVersion(): Double
Reads the underlying wire format version.
Reads the underlying wire format version. Likely mostly to be useful to legacy code reading old wire format versions. May not be called before .readHeader().
- Definition Classes
- Deserializer
- 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 readDouble(): Double
Read a JS number value.
Read a JS number value.
- Definition Classes
- Deserializer
- def readHeader(): Boolean
Reads and validates a header (including the format version).
Reads and validates a header (including the format version). May, for example, reject an invalid or unsupported wire format. In that case, an Error is thrown.
- Definition Classes
- Deserializer
- def readRawBytes(length: Double): Buffer
Read raw bytes from the deserializer’s internal buffer.
Read raw bytes from the deserializer’s internal buffer. The length parameter must correspond to the length of the buffer that was passed to serializer.writeRawBytes().
- Definition Classes
- Deserializer
- def readUint32(): Double
Read a raw 32-bit unsigned integer and return it.
Read a raw 32-bit unsigned integer and return it.
- Definition Classes
- Deserializer
- def readUint64(): Tuple2[Double, Double]
Read a raw 64-bit unsigned integer and return it as an array [hi, lo] with two 32-bit unsigned integer entries.
Read a raw 64-bit unsigned integer and return it as an array [hi, lo] with two 32-bit unsigned integer entries.
- Definition Classes
- Deserializer
- def readValue(): Any
Deserializes a JavaScript value from the buffer and returns it.
Deserializes a JavaScript value from the buffer and returns it.
- Definition Classes
- Deserializer
- 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.
Marks an ArrayBuffer as having its contents transferred out of band. Pass the corresponding
ArrayBufferin the serializing context to serializer.transferArrayBuffer() (or return the id from serializer._getSharedArrayBufferId() in the case of SharedArrayBuffers).- Definition Classes
- Deserializer
- 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])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated