BinaryCodec
zio.blocks.schema.codec.BinaryCodec
abstract class BinaryCodec[A] extends Codec[ByteBuffer, ByteBuffer, A]
Represents a specialized codec for encoding and decoding values between binary input and output representations using ByteBuffer.
This abstraction is commonly used with binary formats (e.g., Avro) where both encoding and decoding operations are performed using ByteBuffer as the underlying data representation.
Type parameters
- A
-
The type of values being encoded or decoded.
Attributes
- Source
- BinaryCodec.scala
- Graph
-
- Supertypes
- Known subtypes
-
class AvroCodec[A]class JsonCodec[A]class MessagePackCodec[A]class ThriftCodec[A]class ToonCodec[A]class XmlCodec[A]class YamlCodec[A]
Members list
In this article