code: public static OutputStream asStream(OutputAccessorPoolHolder poolHolder, ByteBuffer byteBuffer) {
  
          ByteBufferOutputStream accessor = poolHolder.getByteBufferOutputStream();
          accessor.byteBuffer = byteBuffer;
  
          return accessor;
      }
docs: Retrieved a pooled an {@link OutputStream} for the given {@link ByteBuffer}. Instances are pooled within the thread
  scope.
  
  @param poolHolder
  @param byteBuffer
  @return