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: Any): Boolean

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

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

    Definition Classes
    AnyRef → Any
  4. val IS: InStream.type

  5. object InObject extends ScopeLoc with Product with Serializable

  6. val OS: OutStream.type

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

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

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

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

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

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

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

    Definition Classes
    AnyRef → Any
  15. val isHumanReadable: Boolean

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

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

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

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

    Definition Classes
    AnyRef
  20. def readBoolean(): Boolean

    Definition Classes
    SerPennyInSerInput
  21. def readByte(): Byte

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

    Definition Classes
    SerPennyInSerInput
  23. def readChar(): Char

    Definition Classes
    SerPennyInSerInput
  24. def readDouble(): Double

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

    Definition Classes
    SerPennyInSerInput
  26. def readFieldEnd(): Unit

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

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

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

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

    Definition Classes
    SerPennyInSerInput
  31. def readOneOfEnd(): Unit

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

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

    Definition Classes
    SerPennyInSerInput
  34. def readString(): String

    Definition Classes
    SerPennyInSerInput
  35. def readStructBegin(): Unit

    Definition Classes
    SerPennyInSerInput
  36. def readStructEnd(): Unit

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

    Definition Classes
    AnyRef
  38. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from SerInput

Inherited from AnyRef

Inherited from Any

Ungrouped