Spec example for record serialization is incorrect
--------------------------------------------------

                 Key: AVRO-227
                 URL: https://issues.apache.org/jira/browse/AVRO-227
             Project: Avro
          Issue Type: Bug
          Components: spec
    Affects Versions: 1.2.0
            Reporter: Todd Lipcon


{quote}
An instance of this record whose a field has value 27 (encoded as hex 36) and 
whose b field has value "foo" (encoded as hex bytes OC 66 6f 6f), would be 
encoded simply as the concatenation of these ...
{quote}
but "foo" should be encoded as zigzag(3) followed by "foo". zigzag(3) is 0x06, 
not 0x0c

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to