trait Reader[A] extends AnyRef

Represents the base class of all readers. You can define new readers by extending this class and implementing the readImpl method.

Note

All reader exceptions will be wrapped into a scredis.exceptions.RedisReaderException.

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

Concrete Value Members

  1. final def read(bytes: Array[Byte]): A

    Deserializes an array of bytes to the expected type.

    Deserializes an array of bytes to the expected type.

    bytes

    the array of bytes

    returns

    the deserialized type

    Exceptions thrown

    [[scredis.exceptions.RedisReaderException]] if an error occurs