ProtoInputStream

scalapb.grpc.ProtoInputStream
class ProtoInputStream[T <: GeneratedMessage](msg: T) extends InputStream

Allows skipping serialization completely when the io.grpc.inprocess.InProcessTransport is used. Inspired by https://github.com/grpc/grpc-java/blob/master/protobuf-lite/src/main/java/io/grpc/protobuf/lite/ProtoInputStream.java

Attributes

Graph
Supertypes
class InputStream
trait Closeable
trait AutoCloseable
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def available(): Int

Attributes

Definition Classes
InputStream
def message: T
override def read(): Int

Attributes

Definition Classes
InputStream
override def read(b: Array[Byte], off: Int, len: Int): Int

Attributes

Definition Classes
InputStream

Inherited methods

def close(): Unit

Attributes

Inherited from:
InputStream
def mark(x$0: Int): Unit

Attributes

Inherited from:
InputStream
def markSupported(): Boolean

Attributes

Inherited from:
InputStream
def read(x$0: Array[Byte]): Int

Attributes

Inherited from:
InputStream
def reset(): Unit

Attributes

Inherited from:
InputStream
def skip(x$0: Long): Long

Attributes

Inherited from:
InputStream