public void resetBuffers() {
    for (ByteBuffer buffer : buffers) {
      buffer.flip();
    }
  }
Reset the buffers so they can be written again.
ambry-store/src/test/java/com/github/ambry/store/MockMessageWriteSet.java