ResourceUploader
constructor(suitManager: SUITManager, sessionId: Int, data: ByteArray, windowCapacity: Int = 1, memoryAlignment: Int = 1)
Parameters
data
The resource data, as bytes.
windowCapacity
Number of buffers available for sending data, defaults to 1. The more buffers are available, the more packets can be sent without awaiting notification with response, thus accelerating upload process.
memoryAlignment
The memory alignment of the device, defaults to 1. Some memory implementations may require bytes to be aligned to a certain value before saving them.