toStream

open fun toStream(byteBuffer: ByteBuffer, os: OutputStream)
open fun toStream(buffer: ByteBuffer): InputStream