| 1 | = Nugget = |
| 2 | |
| 3 | Nugget is a Cobra library that provides binary serialization for main primitive types like integers, floating point values, dates, strings, lists, and dictionaries. |
| 4 | |
| 5 | The main advantage over the serialization libraries found in System.Runtime is that Nugget's encoded objects are only a fraction of the serialization libraries. The encoding is also designed to be simple, comparable to that of JSON. |
| 6 | |
| 7 | == Example == |
| 8 | {{{ |
| 9 | #!cobra |
| 10 | class Program |
| 11 | def main |
| 12 | list = ['foo', 'bar'] |
| 13 | bytes = Nugget.encode(list) |
| 14 | }}} |
| 15 | |
| 16 | == Download == |
| 17 | Find the source for Nugget attached below. |
| 18 | |
| 19 | '''SHA1 Checksum''' |
| 20 | {{{ |
| 21 | f0ca5e524b8daabecf282fdf078e89458ffabfdb |
| 22 | }}} |