Skip to content

evolvah/embedded-serializer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

embedded-serializer

Light-weight serializer for embedded applications

Sample run

$ g++ -o 1.exe test.cpp && ./1.exe
Serializing  : x1: 1, r1: 'blah-blah!' x2: 2, x3: 3, x4: 0.123467
ok: true, capacity: 30 , position: 26
Deserializing: x1: 1, r1: 'blah-blah!' x2: 2, x3: 3, x4: 0.123467
Testing overflow
Caught the expected exception
ok: false
Serializing LogRecord...
LogRecord: this: 0x7ffc055b8ed0 schedulerClocksFromStart: 1, level: 1, source: 2, code: 3, textToStore: 'Test string!'
Deserializing LogRecord...
LogRecord: this: 0x7ffc055b8f20 schedulerClocksFromStart: 1, level: 1, source: 2, code: 3, textToStore: 'Test string!'
All tests passed.

About

Light-weight serialized for embedded applications

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages