uint32_t BinaryProtocolWriter::writeBinary(folly::ByteRange v) {
  uint32_t size = v.size();
  uint32_t result = writeI32((int32_t)size);
  out_.push(v.data(), size);
  return result + size;
}
uint32_t BinaryProtocolWriter::writeBinary(folly::ByteRange v) {
  uint32_t size = v.size();
  uint32_t result = writeI32((int32_t)size);
  out_.push(v.data(), size);
  return result + size;
}