qisdk / com.aldebaran.qi.sdk.object.streamablebuffer / StreamableBufferFactory

StreamableBufferFactory

object StreamableBufferFactory

Factory of StreamableBuffer.

Since
7

Functions

fromFunction

Create a StreamableBuffer from a function.

fun fromFunction(totalSize: Long, readFunction: (offset: Long, size: Long) -> ByteBuffer): StreamableBuffer