c

scredis.serialization

StringWriter

class StringWriter extends Writer[String]

Linear Supertypes
Writer[String], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StringWriter
  2. Writer
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new StringWriter(charsetName: String)

Value Members

  1. final def write(value: String): Array[Byte]

    Serializes an object into a byte array.

    Serializes an object into a byte array.

    value

    the object to be serialized

    returns

    byte array of the serialized object

    Definition Classes
    Writer
    Exceptions thrown

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