readPixelsUnsafe

fun Bitmap.readPixelsUnsafe(x: Int, y: Int, width: Int, height: Int): IntArray


fun BmpSlice.readPixelsUnsafe(x: Int, y: Int, width: Int, height: Int, out: IntArray = IntArray(width * height), offset: Int = 0): IntArray

Sets a pixel in RGBA from the slice in x and y with the color RectSlice.value WITHOUT having into account RectSlice.orientation and RectSlice.padding