Report question

Question: How to put data from an OutputStream into a ByteBuffer?