Re: Checksums
Oren Ben-Kiki <[email protected]>
| Newsgroups | gmane.text.yaml.general |
|---|---|
| Message-ID | <CADJiDhvuJSZ_3KayOkxhUN54BCA1R+wN5kEKieHVV7LC+F34yg@mail.gmail.com> |
I wouldn't use %CRC for this, YAML doesn't really go for user-defined directives. One can easily just use a special document: --- crc: ... --- a: foo ... Or some other valid YAML solution. On Mon, Apr 29, 2013 at 5:30 PM, I Heart Robotics <[email protected]>wrote: > |Is there a better way of passing checksums of streams? > The use case is sending YAML data over a serial connection that > occasionally gets errors or dropped characters. > > %YAML 1.2 > %CRC B8C5938E > --- > a: foo > b: bar > c: baz > ... > %YAML 1.2 > %CRC 498BBC05 > --- > a: alpha > b: beta > c: gamma > ...| > > > > ------------------------------------------------------------------------------ > Try New Relic Now & We'll Send You this Cool Shirt > New Relic is the only SaaS-based application performance monitoring service > that delivers powerful full stack analytics. Optimize and monitor your > browser, app, & servers with just a few lines of code. Try New Relic > and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr > _______________________________________________ > Yaml-core mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/yaml-core > ------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr _______________________________________________ Yaml-core mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/yaml-core