anchor.diff:    , Data
     , Header#header.sync
     ].
  +
  +%%%_* Internal functions =======================================================
   
   %% Raise an exception if meta has a bad format.
   %% Otherwise return the formatted metadata entries
  
positive.code:   HeaderRecord = avro_record:new(ocf_schema(), HeaderFields),
    avro_binary_encoder:encode_value(HeaderRecord).
  
  -spec make_block(header(), [binary()]) -> iodata().
  make_block(Header, Objects) ->
    Count = length(Objects),
  
negative.code:         , decode_binary/2
          , decode_file/1
          , decode_file/2
          , encode_header/1
          , make_block/2
          , make_header/1
          , make_header/2
          , make_ocf/2
  