Package

molecule.parsers

bytebuffer

Permalink

package bytebuffer

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. bytebuffer
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. final class ByteArrayBuilder extends AnyRef

    Permalink

    An immutable class that creates a String by prepending character buffers

Value Members

  1. object ByteArrayBuilder

    Permalink
  2. final val anyByte: Parser[ByteBuffer, Byte]

    Permalink

    Parser that accepts any byte

  3. final val anyInt: Parser[ByteBuffer, Int]

    Permalink
  4. final def buffer(range: (Byte, Byte), ranges: (Byte, Byte)*): Parser[ByteBuffer, ByteBuffer]

    Permalink

    Parser from ByteBuffer to ByteBuffer.

    Parser from ByteBuffer to ByteBuffer. This parser will build a ByteBuffer accepting all bytes that fall in the specified ranges.

  5. final def buffer(byte: Byte, bs: Byte*): Parser[ByteBuffer, ByteBuffer]

    Permalink

    Parser from ByteBuffer to ByteBuffer.

    Parser from ByteBuffer to ByteBuffer. This parser will build a ByteBuffer accepting all specified bytes.

  6. final def bufferUntil(range: (Byte, Byte), ranges: (Byte, Byte)*): Parser[ByteBuffer, ByteBuffer]

    Permalink

    Parser from ByteBuffer to ByteBuffer.

    Parser from ByteBuffer to ByteBuffer. This parser will build a ByteBuffer until the received byte falls in one of the the specified ranges.

  7. final def bufferUntil(b: Byte, bs: Byte*): Parser[ByteBuffer, ByteBuffer]

    Permalink

    Parser from ByteBuffer to ByteBuffer.

    Parser from ByteBuffer to ByteBuffer. This parser will build a ByteBuffer until byte b or any of bytes bs is found.

  8. implicit def byte(b: Byte): Parser[ByteBuffer, Byte]

    Permalink

    Parser that succeeds if it matches a single byte

  9. def byteArray(n: Int): Parser[ByteBuffer, Array[Byte]]

    Permalink

    Parse a Byte array of size n

  10. def byteBuffer(n: Int): Parser[ByteBuffer, ByteBuffer]

    Permalink

    Parse a Byte buffer of size n

  11. def byteBufferList(n: Int): Parser[ByteBuffer, List[ByteBuffer]]

    Permalink

    Parse a Byte buffer list of n bytes

  12. def byteBufferSeg(n: Int): Parser[ByteBuffer, Seg[ByteBuffer]]

    Permalink

    Parse a Byte buffer segment of n bytes

  13. final def mkBuffer(seg: Seg[ByteBuffer]): ByteBuffer

    Permalink

    Copies the remaining bytes of each ByteBuffer in a Seg to a single new ByteBuffer

  14. def splitAt(b: Byte, bs: Byte*): Parser[ByteBuffer, ByteBuffer]

    Permalink

    Parser from ByteBuffer to ByteBuffer.

    Parser from ByteBuffer to ByteBuffer. This parser will split the received ByteBuffer at the position where byte b or any of bytes bs occur. It fails if the first byte of the received ByteBuffer match the condition, so the resulting ByteBuffer will never be empty.

  15. def splitAt(b: Byte): Parser[ByteBuffer, ByteBuffer]

    Permalink

    Parser from ByteBuffer to ByteBuffer.

    Parser from ByteBuffer to ByteBuffer. This parser will split the received ByteBuffer at the position where byte b occurs. It fails if the first byte of the received ByteBuffer match the condition, so the resulting ByteBuffer will never be empty.

  16. def splitIf(condition: (Byte) ⇒ Boolean): Parser[ByteBuffer, ByteBuffer]

    Permalink

    Parser from ByteBuffer to ByteBuffer.

    Parser from ByteBuffer to ByteBuffer. This parser will split the received ByteBuffer at the position when the condition is true. It fails if the first byte of the received ByteBuffer match the condition, so the resulting ByteBuffer will never be empty.

Inherited from AnyRef

Inherited from Any

Ungrouped