Class

fastparse.byte

ByteApi

Related Doc: package byte

Permalink

class ByteApi extends Api[Byte, ByteVector]

Linear Supertypes
Api[Byte, ByteVector], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ByteApi
  2. Api
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ByteApi()

    Permalink

Type Members

  1. type Bytes = ByteVector

    Permalink
  2. type IndexedParserInput = utils.IndexedParserInput[Byte, ByteVector]

    Permalink
    Definition Classes
    Api
  3. type IteratorParserInput = utils.IteratorParserInput[Byte, ByteVector]

    Permalink
    Definition Classes
    Api
  4. type P[+T] = core.Parser[T, Byte, ByteVector]

    Permalink
    Definition Classes
    Api
  5. type P0 = core.Parser[Unit, Byte, ByteVector]

    Permalink
    Definition Classes
    Api
  6. type ParseCtx = core.ParseCtx[Byte, ByteVector]

    Permalink
    Definition Classes
    Api
  7. type ParseError = core.ParseError[Byte, ByteVector]

    Permalink
    Definition Classes
    Api
  8. type Parsed[+T] = core.Parsed[T, Byte, ByteVector]

    Permalink
    Definition Classes
    Api
  9. type Parser[+T] = core.Parser[T, Byte, ByteVector]

    Permalink
    Definition Classes
    Api
  10. type ParserInput = utils.ParserInput[Byte, ByteVector]

    Permalink
    Definition Classes
    Api

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def &(p: P[_]): Lookahead[Byte, ByteVector]

    Permalink
    Definition Classes
    Api
  4. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  5. val AnyByte: AnyElem[Byte, Bytes]

    Permalink
  6. def AnyBytes(count: Int): AnyElems[Byte, Bytes]

    Permalink
  7. val AnyElem: AnyElem[Byte, Bytes]

    Permalink
    Definition Classes
    ByteApi → Api
  8. def AnyElems(count: Int): AnyElems[Byte, Bytes]

    Permalink
  9. val BE: ByteUtils.EndianByteParsers.BE.type

    Permalink

    Big-endian integer parsers

  10. def BS[T](bytes: Bytes): P0

    Permalink

    Construct a literal byte-parser out of an immutable Bytes value

  11. def BS[T](bytes: T*)(implicit arg0: Integral[T]): P0

    Permalink

    Construct a literal byte-parser out of raw byte values.

    Construct a literal byte-parser out of raw byte values. Any integral values can be used, but they will be truncated down to Bytes before being used in the parser

  12. def ByteIn(seqs: Seq[Byte]*): ElemIn[Byte, Bytes]

    Permalink
  13. def BytePred(pred: (Byte) ⇒ Boolean): P0

    Permalink
  14. val Bytes: ByteVector.type

    Permalink

    Convenient, more-concise alias for scodec.bits.ByteVector

  15. def BytesWhile(pred: (Byte) ⇒ Boolean, min: Int = 1): ElemsWhile[Byte, Bytes]

    Permalink
  16. def ElemIn(strings: Seq[Byte]*): ElemIn[Byte, Bytes]

    Permalink
    Definition Classes
    ByteApi → Api
  17. def ElemPred(pred: (Byte) ⇒ Boolean): P0

    Permalink
    Definition Classes
    ByteApi → Api
  18. def ElemsWhile(pred: (Byte) ⇒ Boolean, min: Int = 1): ElemsWhile[Byte, Bytes]

    Permalink
    Definition Classes
    ByteApi → Api
  19. val End: End[Byte, ByteVector]

    Permalink
    Definition Classes
    Api
  20. val Fail: Fail[Byte, ByteVector]

    Permalink
    Definition Classes
    Api
  21. implicit def HexStringSyntax(sc: StringContext): HexStringSyntax

    Permalink
  22. val Index: Index[Byte, ByteVector]

    Permalink
    Definition Classes
    Api
  23. val Int8: ByteUtils.Parser[Byte]

    Permalink
  24. val LE: ByteUtils.EndianByteParsers.LE.type

    Permalink

    Little-endian integer parsers

  25. val NoCut: parsers.Combinators.NoCut.type

    Permalink
    Definition Classes
    Api
  26. val NoTrace: parsers.Combinators.NoTrace.type

    Permalink
    Definition Classes
    Api
  27. def P[T](p: ⇒ Parser[T])(implicit name: Name): Parser[T]

    Permalink
    Definition Classes
    Api
  28. val ParseError: (Failure[Byte, ByteVector]) ⇒ core.ParseError[Byte, ByteVector]

    Permalink
    Definition Classes
    Api
  29. val Pass: Pass[Byte, ByteVector]

    Permalink
    Definition Classes
    Api
  30. def PassWith[T](t: T): PassWith[T, Byte, ByteVector]

    Permalink
    Definition Classes
    Api
  31. def SeqIn(seqs: ByteVector*): StringIn[Byte, ByteVector]

    Permalink
    Definition Classes
    Api
  32. val Start: Start[Byte, ByteVector]

    Permalink
    Definition Classes
    Api
  33. val UInt8: ByteUtils.Parser[Short]

    Permalink
  34. val Word16: P[Unit]

    Permalink

    Parses a two-byte word

  35. val Word32: P[Unit]

    Permalink

    Parses a four-byte word

  36. val Word64: P[Unit]

    Permalink

    Parses an eight-byte word

  37. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  38. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  44. implicit val implicitClassTag: ClassTag[Byte]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Api
  45. implicit val implicitElemSetHelper: ElemSetHelper[Byte]

    Permalink
    Definition Classes
    Api
  46. implicit val implicitOrdering: Ordering[Byte]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Api
  47. implicit val implicitReprOps: ReprOps[Byte, ByteVector]

    Permalink
    Definition Classes
    Api
  48. final def isInstanceOf[T0]: Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef
  52. def prettyBytes(bytes: Bytes, markers: Seq[Int] = Seq(-1), contextRows: Int = 8): String

    Permalink

    Prettify an array of bytes as an easy-to-ready 16-wide grid of hex-values into a string you can print and read.

    Prettify an array of bytes as an easy-to-ready 16-wide grid of hex-values into a string you can print and read.

    By default, only prints the first 8 rows. You can pass in a set of markers in order to label other parts of the input bytes with a caret and also print the rows around those points, or set contextRows to some other value than 8 if you want to see more or less rows (e.g. set it to Int.MaxValue to show the whole input)

  53. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Api[Byte, ByteVector]

Inherited from AnyRef

Inherited from Any

Ungrouped