private ByteBuffer getIFWriteBuffer(int size) {
    return ByteBuffer.allocate(size);
  }
Write the specified DataSerializer to the file.
geode-core/src/main/java/org/apache/geode/internal/cache/DiskInitFile.java