read

abstract fun read(target: ByteBuffer, targetFormat: ColorFormat = format, targetType: ColorType = type, level: Int = 0)(source)
abstract fun read(layer: Int, target: ByteBuffer, targetFormat: ColorFormat = format, targetType: ColorType = type, level: Int = 0)(source)