message: Doxygen comments in binaryio
diff: @@ -50,6 +50,7 @@ inline T read(const char *buf)
  return value;
  }
  +/// Append the binary representation of @a val to the byte buffer @a vec.
  template <typename T>
  void AppendBytes(std::vector<char> &vec, const T &val)
  {
  @@ -57,8 +58,12 @@ void AppendBytes(std::vector<char> &vec, const T &val)
  vec.insert(vec.end(), ptr, ptr + sizeof(T));
  }
  -void WriteBase64(std::ostream &out, const void *bytes, size_t length);
  +/// Encode the buffer of length @a nbytes give by pointer @a bytes in base-64
  +/// format, and write the encoded data to the output stream @a out.
  +void WriteBase64(std::ostream &out, const void *bytes, size_t nbytes);
  +/// Decode @a len base-64 encoded characters in the buffer @a src, and store the
  +/// resulting decoded data in @a buf. @a buf will be resized as needed.
  void DecodeBase64(const char *src, size_t len, std::vector<char> &buf);
  /// Return the number of characters needed to encode @a nbytes in base-64. This
  