dart_avro 0.0.3 dart_avro: ^0.0.3 copied to clipboard
Pure dart implementation of apache avro encoding and decoding
dart_avro #
A pure dart package to decode avro encoding
Getting Started #
final Uint8List data = Uint8List.fromList([0x04]);
final Map<String, dynamic> schema = {
'type': 'int',
};
final int decoded = DartAvro.decodeJson(schema, data);
Types #
avro type | dart type |
---|---|
null | null |
boolean | bool |
int, long | int |
double, float | double |
bytes, fixed | Uint8List |
string | String |
record, map | Map<String, dynamic> |
enum | string |
array | List |
TODO #
- Encoding
- Model generation