DecodeResult

case class DecodeResult[+A](value: A, remainder: BitVector)

Result of a decoding operation, which consists of the decoded value and the remaining bits that were not consumed by decoding.

Result of a decoding operation, which consists of the decoded value and the remaining bits that were not consumed by decoding.

trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def map[B](f: A => B): DecodeResult[B]

Maps the supplied function over the decoded value.

Maps the supplied function over the decoded value.

def mapRemainder(f: BitVector => BitVector): DecodeResult[A]

Maps the supplied function over the remainder.

Maps the supplied function over the remainder.

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product