Identity

org.apache.pekko.grpc.internal.Identity
object Identity extends Codec

Attributes

Source
Identity.scala
Graph
Supertypes
class Codec
class Object
trait Matchable
class Any
Self type
Identity.type

Members list

Value members

Concrete methods

override def compress(bytes: ByteString): ByteString

Attributes

Definition Classes
Source
Identity.scala
override def uncompress(bytes: ByteString): ByteString

Attributes

Definition Classes
Source
Identity.scala
override 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

Definition Classes
Source
Identity.scala

Inherited methods

def isCompressed: Boolean

Attributes

Inherited from:
Codec
Source
Codec.scala

Concrete fields

override val name: String

Attributes

Source
Identity.scala