GoldenGateBindings / com.fitbit.goldengate.bindings.util / MemoryDataSink

MemoryDataSink

class MemoryDataSink : NativeReference, Closeable

In-Memory DataSink that is intended to be used for testing

Constructors

<init>

MemoryDataSink()

In-Memory DataSink that is intended to be used for testing

Properties

thisPointer

val thisPointer: Long

Pointer to native jni reference for this object

Functions

attach

fun attach(dataSourcePtr: Long): Unit

Attach a DataSource that will send data to this sink

close

fun close(): Unit

getBuffer

fun getBuffer(): ByteArray

Get the in-memory buffer on which all data sent is available