final class CborReader extends AnyRef

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CborReader
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CborReader(data: RawCbor)

Value Members

  1. def advance(amount: Int): Unit
  2. def closeIndefinites(expectedDepth: Int): Unit

    Consumes any dangling Break bytes in order to close any unclosed nested indefinite length values.

    Consumes any dangling Break bytes in order to close any unclosed nested indefinite length values.

    Annotations
    @tailrec()
  3. val data: RawCbor
  4. def index: Int
  5. def nextByte(): Long
  6. def nextInitial(): InitialByte
    Annotations
    @tailrec()
  7. def nextInt(): Long
  8. def nextLong(): Long
  9. def nextShort(): Long
  10. def openIndefinites: Int
  11. def peekInitial(i: Int = idx): InitialByte
    Annotations
    @tailrec()
  12. def readSigned(major: MajorType, info: Int): Long
  13. def readSizedBytes(info: Int): Array[Byte]
  14. def readSizedText(info: Int): String
  15. def readUnsigned(info: Int): Long
  16. def requireTag(cond: (Tag) ⇒ Boolean, error: String): Tag
    Annotations
    @tailrec()
  17. def reset(index: Int): Unit
  18. def unexpected(ib: InitialByte, expected: String): Nothing
  19. def unsignedSize(info: Int): Int
  20. def ustr(unsigned: Long): String
  21. def validateSize(unsigned: Long, what: String): Int