Serializers

org.scalajs.ir.Serializers$

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Concrete methods

Deserializes a class def from the given buffer.

Deserializes a class def from the given buffer.

Attributes

Throws:
java.nio.BufferUnderflowException

if not enough data is available in the buffer. In this case the buffer's position is unspecified and needs to be reset by the caller.

Deserializes entry points from the given buffer.

Deserializes entry points from the given buffer.

Attributes

Throws:
java.nio.BufferUnderflowException

if not enough data is available in the buffer. In this case the buffer's position is unspecified and needs to be reset by the caller.

def serialize(stream: OutputStream, classDef: ClassDef): Unit

Concrete fields

final val IRMagicNumber: -889304493

Scala.js IR File Magic Number

Scala.js IR File Magic Number

CA FE : first part of magic number of Java class files 4A 53 : "JS" in ASCII

Attributes