DecoderState

zio.schema.codec.ProtobufCodec.DecoderState
final class DecoderState(chunk: Chunk[Byte], var position: Int)

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def all(context: DecoderContext): Chunk[Byte]
def currentPosition: Int
def length(context: DecoderContext): Int
def move(count: Int): Unit
def peek(context: DecoderContext): Chunk[Byte]
def peek: Byte
def read(count: Int): Chunk[Byte]