InternedBinarySectionWriter

scala.scalanative.nir.serialization.InternedBinarySectionWriter
sealed abstract class InternedBinarySectionWriter[T] extends NIRSectionWriter

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def internDeps(value: T): Unit
def put(value: T): Unit

Concrete methods

def intern(value: T): Int

Inherited methods

final def commit(output: OutputStream): Unit

Attributes

Inherited from:
NIRSectionWriter
final def position(): Int

Attributes

Inherited from:
NIRSectionWriter
final def put(value: Byte): Unit

Attributes

Inherited from:
NIRSectionWriter
final def put(values: Array[Byte]): Unit

Attributes

Inherited from:
NIRSectionWriter
final def putBool(v: Boolean): Unit

Attributes

Inherited from:
NIRSectionWriter
final def putDouble(value: Double): Unit

Attributes

Inherited from:
NIRSectionWriter
final def putFloat(value: Float): Unit

Attributes

Inherited from:
NIRSectionWriter
final def putInt(value: Int): Unit

Attributes

Inherited from:
NIRSectionWriter
final def putLebChar(value: Char): Unit

Attributes

Inherited from:
NIRSectionWriter
final def putLebShort(value: Short): Unit

Attributes

Inherited from:
NIRSectionWriter
final def putLebSignedInt(v: Int): Unit

Attributes

Inherited from:
NIRSectionWriter
final def putLebSignedLong(v: Long): Unit

Attributes

Inherited from:
NIRSectionWriter
final def putLebUnsignedInt(v: Int): Unit

Attributes

Inherited from:
NIRSectionWriter
final def putLebUnsignedLong(v: Long): Unit

Attributes

Inherited from:
NIRSectionWriter
final def putOpt[T](opt: Option[T])(putT: T => Unit): Unit

Attributes

Inherited from:
NIRSectionWriter
final def putSeq[T](seq: Seq[T])(putT: T => Unit): Unit

Attributes

Inherited from:
NIRSectionWriter
final def putShort(value: Short): Unit

Attributes

Inherited from:
NIRSectionWriter
final def putTag(value: Byte): Unit

Attributes

Inherited from:
NIRSectionWriter

Concrete fields

protected val entries: Map[T, Int]