Returns the serialized value of the given data.
Returns the serialized value of the given data. Accepts primitive Scala types, ByteString, DataMap and DataList.
For primitive types Scala's built in primitive serializiation/deserialization is used. For ByteString, "avro string" format is used. For complex types, InlineStringCodec is used.
Returns the deserialized string value, either a primitive Scala type, a ByteString, a DataMap or a DataList, depending on the schema provided.
Returns the deserialized string value, either a primitive Scala type, a ByteString, a DataMap or a DataList, depending on the schema provided. Throws an IOException or NumberFormatException if deserialization fails.
For primitive types Scala's built in primitive serializiation/deserialization is used. For ByteString, "avro string" format is used. For complex types, InlineStringCodec is used.