GoldenGateBindings / com.fitbit.goldengate.bindings.util / MemoryDataSource / <init>

<init>

MemoryDataSource(data: ByteArray, chunkSize: Int = data.size)

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

Parameters

data - data that will be sent from this DataSource

chunkSize - start call will send one packet for each chunkSize (default to send all data in one packet)