zio-schema-protobuf
zio-schema-protobuf
zio.schema.codec
ProtobufCodec
Decoder
Decoder
Encoder
Protobuf
WireType
Bit32
Bit64
EndGroup
LengthDelimited
StartGroup
VarInt
WireType
zio-schema-protobuf
/
zio.schema.codec
/
ProtobufCodec
/
Decoder
Decoder
object
Decoder
Companion:
class
Graph
Supertypes
Self type
trait
Product
trait
Mirror
class
Object
trait
Matchable
class
Any
Decoder
.type
Type members
Value members
Type members
Inherited types
type
MirroredElemLabels
<:
Tuple
The names of the product elements
The names of the product elements
Inherited from:
Mirror
type
MirroredLabel
<:
String
The name of the type
The name of the type
Inherited from:
Mirror
Value members
Concrete methods
def
binaryDecoder
:
Decoder
[
Chunk
[
Byte
]]
def
collectAll
[
A
](
chunk:
Chunk
[
Decoder
[
A
]]):
Decoder
[
Chunk
[
A
]]
def
decode
[
A
](
schema:
Schema
[
A
],
chunk:
Chunk
[
Byte
]):
Either
[
String
,
A
]
def
fail
(
failure:
String
):
Decoder
[
Nothing
]
def
failWhen
(
cond:
Boolean
,
message:
String
):
Decoder
[
Unit
]
def
succeed
[
A
](
a:
=>
A
):
Decoder
[
A
]
def
succeedNow
[
A
](
a:
A
):
Decoder
[
A
]