Codec

akka.grpc.internal.Codec
abstract class Codec

Attributes

Source:
Codec.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Gzip.type
object Identity.type

Members list

Concise view

Value members

Abstract methods

def compress(bytes: ByteString): ByteString

Attributes

Source:
Codec.scala
def uncompress(bytes: ByteString): ByteString

Attributes

Source:
Codec.scala
def uncompress(compressedBitSet: Boolean, bytes: ByteString): ByteString

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.

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.

Attributes

Source:
Codec.scala

Concrete methods

def isCompressed: Boolean

Attributes

Source:
Codec.scala

Abstract fields

val name: String

Attributes

Source:
Codec.scala