produce
fun produce(buffer: ByteBuffer, format: <Error class: unknown class>, width: Int, height: Int): IBitmap?
Wraps a ByteBuffer into an IBitmap.
Parameters
buffer
Image buffer.
format
Pixel format.
width
Image's width.
height
Image's height.
Wraps a ByteBuffer into an IBitmap.
Image buffer.
Pixel format.
Image's width.
Image's height.