ProtoReader

trait ProtoReader[T, P <: Message] extends BytesReader[T]
trait BytesReader[T]
class Object
trait Matchable
class Any

Value members

Abstract methods

def fromProto(x: P): T
def parse: Array[Byte] => P

Concrete methods

final
def byteString(bs: ByteString): ByteString
final
def byteString(bs: Option[ByteString]): ByteString
final
def message(x: Option[String]): Option[String]
final
def read(bi: ByteVector): Attempt[ReadResult[T]]
final
def uuidUnsafe(bs: ByteString): Uuid

Inherited methods

final
def flatMap[B](f: T => BytesReader[B]): BytesReader[B]
Inherited from
BytesReader
final
def map[B](f: T => B): BytesReader[B]
Inherited from
BytesReader