Object/Class

scodec.stream

StreamDecoder

Related Docs: class StreamDecoder | package stream

Permalink

object StreamDecoder

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

Value Members

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def emit[A](a: A): StreamDecoder[A]

    Permalink

    Stream decoder that emits a single A and consumes no bits from the input.

  7. def emits[A](as: Iterable[A]): StreamDecoder[A]

    Permalink

    Stream decoder that emits the supplied A values and consumes no bits from the input.

  8. val empty: StreamDecoder[Nothing]

    Permalink

    Stream decoder that emits no elements.

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. def ignore(bits: Long): StreamDecoder[Nothing]

    Permalink

    Creates a stream decoder that ignores the specified number of bits.

  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. def isolate[A](bits: Long)(decoder: StreamDecoder[A]): StreamDecoder[A]

    Permalink

    Creates a stream decoder that reads the specified number of bits and then decodes them with the supplied stream decoder.

    Creates a stream decoder that reads the specified number of bits and then decodes them with the supplied stream decoder. Any remainder from the inner stream decoder is discarded.

  17. def many[A](decoder: Decoder[A]): StreamDecoder[A]

    Permalink

    Creates a stream decoder that repeatedly decodes A values using the supplied decoder.

  18. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  21. def once[A](decoder: Decoder[A]): StreamDecoder[A]

    Permalink

    Creates a stream decoder that decodes one A using the supplied decoder.

    Creates a stream decoder that decodes one A using the supplied decoder. Input bits are buffered until the decoder is able to decode an A.

  22. def raiseError(err: Err): StreamDecoder[Nothing]

    Permalink

    Creates a stream decoder that fails decoding with the specified error.

  23. def raiseError(cause: Throwable): StreamDecoder[Nothing]

    Permalink

    Creates a stream decoder that fails decoding with the specified exception.

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  26. def tryMany[A](decoder: Decoder[A]): StreamDecoder[A]

    Permalink

    Creates a stream decoder that repeatedly decodes A values until decoding fails.

    Creates a stream decoder that repeatedly decodes A values until decoding fails. If decoding fails, the read bits are not consumed and the stream decoder terminates, having emitted any successfully decoded values earlier.

  27. def tryOnce[A](decoder: Decoder[A]): StreamDecoder[A]

    Permalink

    Creates a stream decoder that attempts to decode one A using the supplied decoder.

    Creates a stream decoder that attempts to decode one A using the supplied decoder. Input bits are buffered until the decoder is able to decode an A. If decoding fails, the bits are not consumed and the stream decoder yields no values.

  28. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped