scala.scalanative.nir.serialization

Members list

Concise view

Type members

Classlikes

final class BinaryDeserializer(buffer: ByteBuffer, bufferName: String)

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
final class BinarySerializer

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
object Tags

Serialization tags are unique type ids used to identify types in the binary representation of NIR. There are some holes in the numbering of the types to allow for binary-compatible leeway with adding new IR nodes.

Serialization tags are unique type ids used to identify types in the binary representation of NIR. There are some holes in the numbering of the types to allow for binary-compatible leeway with adding new IR nodes.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Tags.type

Value members

Concrete methods

def deserializeBinary(buffer: ByteBuffer, bufferName: String): Seq[Defn]
def serializeBinary(defns: Seq[Defn], out: OutputStream): Unit
def serializeText(defns: Seq[Defn], buffer: ByteBuffer): Unit