Companion

object Companion

Functions

Link copied to clipboard
fun createInMemoryTestZip(numOfExpectedBytes: Int, content: Byte, entryName: String = "z"): InputStreamAndHash

Get a valid InputStream from an in-memory zip as required for some tests. The zip consists of a single file called "z" that contains the given content byte repeated the given number of times. Note that a slightly bigger than numOfExpectedBytes size is expected.