MemoryDataSource(data: ByteArray, chunkSize: Int = data.size)
In-Memory DataSource that is intended to be used for testing
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)