TastyBuffer

dotty.tools.tasty.TastyBuffer
See theTastyBuffer companion class
object TastyBuffer

Attributes

Companion
class
Source
TastyBuffer.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

final case class Addr(index: Int) extends AnyVal

An address pointing to an index in a Tasty buffer's byte array

An address pointing to an index in a Tasty buffer's byte array

Attributes

Source
TastyBuffer.scala
Supertypes
trait Serializable
trait Product
trait Equals
class AnyVal
trait Matchable
class Any
Show all
final case class NameRef(index: Int) extends AnyVal

An address referring to a serialized name

An address referring to a serialized name

Attributes

Source
TastyBuffer.scala
Supertypes
trait Serializable
trait Product
trait Equals
class AnyVal
trait Matchable
class Any
Show all

Value members

Concrete methods

def natSize(nat: Int): Int

The number of digits of the natural number nat, written in base 128 format.

The number of digits of the natural number nat, written in base 128 format.

Attributes

Source
TastyBuffer.scala

Concrete fields

final val AddrWidth: 4

The maximal number of address bytes.

The maximal number of address bytes. Since addresses are written as base-128 natural numbers, the value of 4 gives a maximal array size of 256M.

Attributes

Source
TastyBuffer.scala
val NoAddr: Addr

Attributes

Source
TastyBuffer.scala