Tempcord data parser implementation
This package aims to provide a standard of Tempcord data parser between interface and Uint8List.
Specification
A single Uint8List from TempcordDataParser
contains at least 2 object: Profile
and a list of BodyTemperatureRecordNode
with LZMA compressed.
There is the basic sample of how data contains in byte (for reference only):
{"name":"Alice", "animal":"0"}
(Data divider)
temp,unit,recordedAt
36.9,℃,2020-03-12T12:32:20.324Z
35.4,℃,2020-03-13T12:22:43.982Z
37.1,℃,2020-04-23T09:12:39.571Z
License
Apache 2.0
Libraries
- handlers
- A library that implement handler between file data in Dart object
(Map from jsonDecode and List from
BodyTemperatureRecordListCsvConverter.csvDecoder (pre-defined
CsvToListConverter
)) to Profile and BodyTemperatureRecordNode which implemented with ProfileJson and BodyTemperatureRecordNodeCsvRow correspondingly. - parser
- Handle how Tempcord data read and write between Dart object and bytes.