anchor.diff:  . env/bin/activate
   nosetests test_0025_mongodb_basic.py:Test.test_write_errors
   ----------------------------------------------------------------------
  -
  
positive.code: 
  It also implements a number of interfaces defined in the standard "io" package
  and can easily be used to serialize some packets for testing parsers (see
  protos/memcache/binary_test.go).
  
  In addition packetbeat provides the module packetbeat/protos/applayer with
  common definitions among all application layer protocols. For example using the
  Transaction type from applayer guarantees the final document to have all common
  required fields defined. Just embedd the applayer.Transaction with you own
  application layer transaction type to make use of it (from memcache protocol):
  
  [source,go]
  
negative.code: 
  ==== Helpers
  
  ===== Parsing helpers
  
  In libbeat you also find some helpers for implementing parsers for binary and
  text based protocols. The `Bytes_*` functions being the most low level helpers
  for binary protocols using network byte order can be found in the
  `libbeat/common` module. In addition to these very low level helpers a stream
  buffer for parsing TCP based streams, or simply UDP packets with integrated
  error handling is provided by `libbeat/common/streambuf`. This demonstrates its
  usage for parsing the Memcache protocol UDP header:
  
  [source,go]
  ----------------------------------------------------------------------
  