Packages

c

com.twitter.util

BinaryThriftSerializer

class BinaryThriftSerializer extends ThriftSerializer with Base64StringEncoder

A thread-safe ThriftSerializer that uses TBinaryProtocol.

Note

an implementation using com.twitter.finagle.thrift.Protocols.binaryFactory instead of this is recommended.

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BinaryThriftSerializer
  2. Base64StringEncoder
  3. ThriftSerializer
  4. StringEncoder
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BinaryThriftSerializer()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  6. def decode(str: String): Array[Byte]
    Definition Classes
    Base64StringEncoderStringEncoder
  7. def encode(bytes: Array[Byte]): String
    Definition Classes
    Base64StringEncoderStringEncoder
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def fromBytes(obj: TBase[_, _], bytes: Array[Byte]): Unit
    Definition Classes
    ThriftSerializer
  12. def fromInputStream(obj: TBase[_, _], stream: InputStream): Unit
    Definition Classes
    ThriftSerializer
  13. def fromString(obj: TBase[_, _], str: String): Unit
    Definition Classes
    ThriftSerializer
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. def protocolFactory: Factory
  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. def toBytes(obj: TBase[_, _]): Array[Byte]
    Definition Classes
    ThriftSerializer
  23. def toBytes(obj: TBase[_, _], bufSize: Int): Array[Byte]
    Definition Classes
    ThriftSerializer
  24. def toString(obj: TBase[_, _]): String
    Definition Classes
    ThriftSerializer
  25. def toString(obj: TBase[_, _], bufSize: Int): String
    Definition Classes
    ThriftSerializer
  26. def toString(): String
    Definition Classes
    AnyRef → Any
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from Base64StringEncoder

Inherited from ThriftSerializer

Inherited from StringEncoder

Inherited from AnyRef

Inherited from Any

Ungrouped