code: protected byte[] getBuffer(int size) {
      byte[] buffer;
      if (size > SERIALIZER_BUFFER_SIZE) {
        buffer = new byte[size];
      } else {
        buffer = serializerBuffers.get();
        serializerBuffers.remove();
      }
      return buffer;
    }
docs: Returns temporary buffer for serialization, note that if your {@link CompatibleWritable}
  contains another {@link CompatibleWritable} you have to ensure that returned buffers are
  unique. Default implementation is safe (maintains above property).