class MemoryDataSink : NativeReference, Closeable
In-Memory DataSink that is intended to be used for testing
MemoryDataSink()
In-Memory DataSink that is intended to be used for testing |
val thisPointer: Long
Pointer to native jni reference for this object |
fun attach(dataSourcePtr: Long): Unit
Attach a DataSource that will send data to this sink |
|
fun close(): Unit |
|
fun getBuffer(): ByteArray
Get the in-memory buffer on which all data sent is available |