Trait/Object

eie.io

FromBytes

Related Docs: object FromBytes | package io

Permalink

trait FromBytes[T] extends Serializable

Typeclass to serialize a type from a byte array

Linear Supertypes
Serializable, Serializable, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FromBytes
  2. Serializable
  3. Serializable
  4. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def getClass(): Class[_]

    Permalink
    Definition Classes
    Any
  2. abstract def read(bytes: Array[Byte]): Try[T]

    Permalink

    Unmarshalls the byte array into the given type

    Unmarshalls the byte array into the given type

    bytes

    the bytes to unmarshall

    returns

    the T wrapped in a Try

Concrete Value Members

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

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

    Permalink
    Definition Classes
    Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from FromBytes[T] to any2stringadd[FromBytes[T]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (FromBytes[T], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from FromBytes[T] to ArrowAssoc[FromBytes[T]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def ensuring(cond: (FromBytes[T]) ⇒ Boolean, msg: ⇒ Any): FromBytes[T]

    Permalink
    Implicit information
    This member is added by an implicit conversion from FromBytes[T] to Ensuring[FromBytes[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  8. def ensuring(cond: (FromBytes[T]) ⇒ Boolean): FromBytes[T]

    Permalink
    Implicit information
    This member is added by an implicit conversion from FromBytes[T] to Ensuring[FromBytes[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  9. def ensuring(cond: Boolean, msg: ⇒ Any): FromBytes[T]

    Permalink
    Implicit information
    This member is added by an implicit conversion from FromBytes[T] to Ensuring[FromBytes[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: Boolean): FromBytes[T]

    Permalink
    Implicit information
    This member is added by an implicit conversion from FromBytes[T] to Ensuring[FromBytes[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  12. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from FromBytes[T] to StringFormat[FromBytes[T]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  13. def hashCode(): Int

    Permalink
    Definition Classes
    Any
  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. def map[A](f: (T) ⇒ A): FromBytes[A]

    Permalink
  16. def toString(): String

    Permalink
    Definition Classes
    Any
  17. def [B](y: B): (FromBytes[T], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from FromBytes[T] to ArrowAssoc[FromBytes[T]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from Serializable

Inherited from Serializable

Inherited from Any

Inherited by implicit conversion any2stringadd from FromBytes[T] to any2stringadd[FromBytes[T]]

Inherited by implicit conversion StringFormat from FromBytes[T] to StringFormat[FromBytes[T]]

Inherited by implicit conversion Ensuring from FromBytes[T] to Ensuring[FromBytes[T]]

Inherited by implicit conversion ArrowAssoc from FromBytes[T] to ArrowAssoc[FromBytes[T]]

Ungrouped