cgta.serland.backends

SerPennyIn

class SerPennyIn extends SerInput

File format:

Structs: WStruct fid 0 is reserved, that is the stop field. so don't use it, ever! foreach field of struct x with fid => field.ordinal, wtBytes => wt(field.type), and encoded=> enc(field.value) ((uvar(fid)<<3) | wtBytes) ~ encoded SVarInt: WSVarInt svar(x) Fixed64: WFixed64 fixed64(x) OneOf: WOneOf uvar(keyId) ~ uvar(wt) ~ encoded(x) Strings: WByteArray uvar(len(x)) ~ bytes(x) Lists: WList if len(xs) == 0 uvar(0) else uvar(len(xs)) ~ wt(xs.elem) ~ rep1(for( x <- xs) yield encoded(x)) Options: WList, same as list but it's length is 0 or 1 only

Linear Supertypes
SerInput, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SerPennyIn
  2. SerInput
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SerPennyIn(ins: InStreamReader, isHumanReadable: Boolean = false)

Type Members

  1. case class InMonad(subWtInt: Int) extends ScopeLoc with Product with Serializable

  2. case class InOneOf(subWtInt: Int) extends ScopeLoc with Product with Serializable

  3. case class SPField(fid: Int, wtInt: Int, cleared: Boolean = false) extends Product with Serializable

  4. trait ScopeLoc extends AnyRef

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. val IS: InStream.type

  7. object InObject extends ScopeLoc with Product with Serializable

  8. val OS: OutStream.type

  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def debugString: String

  12. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  17. val isHumanReadable: Boolean

    Definition Classes
    SerPennyInSerInput
  18. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  22. def readBoolean(): Boolean

    Definition Classes
    SerPennyInSerInput
  23. def readByte(): Byte

    Definition Classes
    SerPennyInSerInput
  24. def readByteArr(): Array[Byte]

    Definition Classes
    SerPennyInSerInput
  25. def readChar(): Char

    Definition Classes
    SerPennyInSerInput
  26. def readDouble(): Double

    Definition Classes
    SerPennyInSerInput
  27. def readFieldBegin(name: String, id: Int): Unit

    Definition Classes
    SerPennyInSerInput
  28. def readFieldEnd(): Unit

    Definition Classes
    SerPennyInSerInput
  29. def readInt32(hint: Ser32Hint): Int

    Definition Classes
    SerPennyInSerInput
  30. def readInt64(hint: Ser64Hint): Long

    Definition Classes
    SerPennyInSerInput
  31. def readIterable[A](sca: SerReadable[A]): Iterable[A]

    Definition Classes
    SerPennyInSerInput
  32. def readOneOfBegin(): Either[String, Int]

    Definition Classes
    SerPennyInSerInput
  33. def readOneOfEnd(): Unit

    Definition Classes
    SerPennyInSerInput
  34. def readOption[A](sca: SerReadable[A]): Option[A]

    Definition Classes
    SerPennyInSerInput
  35. def readSerInput(): () ⇒ SerInput

    Definition Classes
    SerPennyInSerInput
  36. def readString(): String

    Definition Classes
    SerPennyInSerInput
  37. def readStructBegin(): Unit

    Definition Classes
    SerPennyInSerInput
  38. def readStructEnd(): Unit

    Definition Classes
    SerPennyInSerInput
  39. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  40. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from SerInput

Inherited from AnyRef

Inherited from Any

Ungrouped