abstract class Codec extends AnyRef

Source
Codec.scala
Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Codec
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Codec()

Abstract Value Members

  1. abstract def compress(bytes: ByteString): ByteString
  2. abstract val name: String
  3. abstract def uncompress(compressedBitSet: Boolean, bytes: ByteString): ByteString

    Process the given frame bytes, uncompress if the compression bit is set.

    Process the given frame bytes, uncompress if the compression bit is set. Identity codec will fail with a io.grpc.StatusException if the compressedBit is set.

  4. abstract def uncompress(bytes: ByteString): ByteString

Concrete Value Members

  1. def isCompressed: Boolean