Gzip

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

Attributes

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

Members list

Value members

Concrete methods

override def compress(uncompressed: ByteString): ByteString

Attributes

Definition Classes
Source
Gzip.scala
override def uncompress(compressed: ByteString): ByteString

Attributes

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

Inherited methods

def isCompressed: Boolean

Attributes

Inherited from:
Codec
Source
Codec.scala

Concrete fields

override val name: String

Attributes

Source
Gzip.scala