writeInt8Buffer
Directly writes the image pixel data to a signed 8-bit integer io.github.kmplitert.core.TFBuffer.
This is an optimized operation that avoids creating intermediate Kotlin arrays when possible.
Parameters
buffer
The target io.github.kmplitert.core.TFBuffer to write to.