getBytes

open fun getBytes(): Array<Byte>

Deprecated

Build the finished byte array

Deprecated

This method is only supported on ByteArrayOutputStreams. However, a HTTPUrlConnection OutputStream should be passed instead.