object StreamDecoder
- Source
- StreamDecoder.scala
- Alphabetic
- By Inheritance
- StreamDecoder
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
emit[A](a: A): StreamDecoder[A]
Stream decoder that emits a single
A
and consumes no bits from the input. -
def
emits[A](as: Iterable[A]): StreamDecoder[A]
Stream decoder that emits the supplied
A
values and consumes no bits from the input. -
val
empty: StreamDecoder[Nothing]
Stream decoder that emits no elements.
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
ignore(bits: Long): StreamDecoder[Nothing]
Creates a stream decoder that ignores the specified number of bits.
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isolate[A](bits: Long)(decoder: StreamDecoder[A]): StreamDecoder[A]
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.
-
def
many[A](decoder: Decoder[A]): StreamDecoder[A]
Creates a stream decoder that repeatedly decodes
A
values using the supplied decoder. -
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
once[A](decoder: Decoder[A]): StreamDecoder[A]
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 anA
. -
def
raiseError(err: Err): StreamDecoder[Nothing]
Creates a stream decoder that fails decoding with the specified error.
-
def
raiseError(cause: Throwable): StreamDecoder[Nothing]
Creates a stream decoder that fails decoding with the specified exception.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
tryMany[A](decoder: Decoder[A]): StreamDecoder[A]
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. -
def
tryOnce[A](decoder: Decoder[A]): StreamDecoder[A]
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 anA
. If decoding fails, the bits are not consumed and the stream decoder yields no values. -
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()