Class

scala.meta.internal.tasty

NameBuffer

Related Doc: package tasty

Permalink

class NameBuffer extends TastyBuffer

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. NameBuffer
  2. TastyBuffer
  3. AnyRef
  4. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new NameBuffer()

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from NameBuffer to any2stringadd[NameBuffer] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (NameBuffer, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from NameBuffer to ArrowAssoc[NameBuffer] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def assemble(): Unit

    Permalink

    Hook to be overridden in subclasses.

    Hook to be overridden in subclasses. Perform all actions necessary to assemble the final byte array. After assemble no more output actions to this buffer are permitted.

    Definition Classes
    NameBufferTastyBuffer
  8. var bytes: Array[Byte]

    Permalink

    The current byte array, will be expanded as needed

    The current byte array, will be expanded as needed

    Definition Classes
    TastyBuffer
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def currentAddr: Addr

    Permalink

    The address referring to the end of data written so far

    The address referring to the end of data written so far

    Definition Classes
    TastyBuffer
  11. def ensuring(cond: (NameBuffer) ⇒ Boolean, msg: ⇒ Any): NameBuffer

    Permalink
    Implicit information
    This member is added by an implicit conversion from NameBuffer to Ensuring[NameBuffer] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: (NameBuffer) ⇒ Boolean): NameBuffer

    Permalink
    Implicit information
    This member is added by an implicit conversion from NameBuffer to Ensuring[NameBuffer] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean, msg: ⇒ Any): NameBuffer

    Permalink
    Implicit information
    This member is added by an implicit conversion from NameBuffer to Ensuring[NameBuffer] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean): NameBuffer

    Permalink
    Implicit information
    This member is added by an implicit conversion from NameBuffer to Ensuring[NameBuffer] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  17. def fillAddr(at: Addr, target: Addr): Unit

    Permalink

    Fill reserved space at address at with address target

    Fill reserved space at address at with address target

    Definition Classes
    TastyBuffer
  18. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from NameBuffer to StringFormat[NameBuffer] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  20. def getAddr(at: Addr): Addr

    Permalink

    The address (represented as a natural number) at address at

    The address (represented as a natural number) at address at

    Definition Classes
    TastyBuffer
  21. def getByte(at: Addr): Int

    Permalink

    The byte at given address

    The byte at given address

    Definition Classes
    TastyBuffer
  22. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  23. def getLongNat(at: Addr): Long

    Permalink

    The long natural number at address at

    The long natural number at address at

    Definition Classes
    TastyBuffer
  24. def getNat(at: Addr): Int

    Permalink

    The natural number at address at

    The natural number at address at

    Definition Classes
    TastyBuffer
  25. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  26. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  27. var length: Int

    Permalink

    The number of bytes written

    The number of bytes written

    Definition Classes
    TastyBuffer
  28. def nameIndex(str: String): NameRef

    Permalink
  29. def nameIndex(name: TastyName): NameRef

    Permalink
  30. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  31. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  32. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  33. def pickleName(name: TastyName): Unit

    Permalink
  34. def putNat(at: Addr, x: Int, width: Int): Unit

    Permalink

    Write natural number x right-adjusted in a field of width bytes starting with address at.

    Write natural number x right-adjusted in a field of width bytes starting with address at.

    Definition Classes
    TastyBuffer
  35. def reserveAddr(): Addr

    Permalink

    Reserve AddrWidth bytes to write an address into

    Reserve AddrWidth bytes to write an address into

    Definition Classes
    TastyBuffer
  36. final def skipNat(at: Addr): Addr

    Permalink

    The address after the natural number found at address at.

    The address after the natural number found at address at.

    Definition Classes
    TastyBuffer
  37. final def skipZeroes(at: Addr): Addr

    Permalink

    The smallest address equal to or following at which points to a non-zero byte

    The smallest address equal to or following at which points to a non-zero byte

    Definition Classes
    TastyBuffer
  38. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  39. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  40. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. def writeAddr(addr: Addr): Unit

    Permalink

    Write address without leading zeroes

    Write address without leading zeroes

    Definition Classes
    TastyBuffer
  44. def writeByte(b: Int): Unit

    Permalink

    Write a byte of data.

    Write a byte of data.

    Definition Classes
    TastyBuffer
  45. def writeBytes(data: Array[Byte], n: Int): Unit

    Permalink

    Write the first n bytes of data.

    Write the first n bytes of data.

    Definition Classes
    TastyBuffer
  46. def writeInt(x: Int): Unit

    Permalink

    Write a natural number in 2's complement big endian format, base 128.

    Write a natural number in 2's complement big endian format, base 128. All but the last digits have bit 0x80 set.

    Definition Classes
    TastyBuffer
  47. def writeLongInt(x: Long): Unit

    Permalink

    Like writeInt, but for longs

    Like writeInt, but for longs

    Definition Classes
    TastyBuffer
  48. def writeLongNat(x: Long): Unit

    Permalink

    Like writeNat, but for longs.

    Like writeNat, but for longs. Note that the binary representation of LongNat is identical to Nat if the long value is in the range Int.MIN_VALUE to Int.MAX_VALUE.

    Definition Classes
    TastyBuffer
  49. def writeNameRef(ref: NameRef): Unit

    Permalink
  50. def writeNat(x: Int): Unit

    Permalink

    Write a natural number in big endian format, base 128.

    Write a natural number in big endian format, base 128. All but the last digits have bit 0x80 set.

    Definition Classes
    TastyBuffer
  51. def writeUncompressedLong(x: Long): Unit

    Permalink

    Write an uncompressed Long stored in 8 bytes in big endian format

    Write an uncompressed Long stored in 8 bytes in big endian format

    Definition Classes
    TastyBuffer
  52. def [B](y: B): (NameBuffer, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from NameBuffer to ArrowAssoc[NameBuffer] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from TastyBuffer

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from NameBuffer to any2stringadd[NameBuffer]

Inherited by implicit conversion StringFormat from NameBuffer to StringFormat[NameBuffer]

Inherited by implicit conversion Ensuring from NameBuffer to Ensuring[NameBuffer]

Inherited by implicit conversion ArrowAssoc from NameBuffer to ArrowAssoc[NameBuffer]

Ungrouped