515
513
// write byte array header to ofs
516
514
// Windows does not accept static string of size >= 65536.
517
515
// so we represent string in an array of uint64 in Windows.
525
523
static void WriteByteArray(const string &name, const char *buf,
526
524
size_t buf_size, ostream *ofs);
528
537
// check endian-ness at runtime.
529
538
static bool IsLittleEndian();