# BuildCacheEntryWriter

interface BuildCacheEntryWriter(source)

Writer to serialize a build cache entry.

#### Since

3.3

## Functions

getInputStream
Link copied to clipboard
@Incubating
abstract fun getInputStream(): InputStream
Gets an input stream providing the build cache entry content.
getSize
Link copied to clipboard
abstract fun getSize(): Long
Returns the size of the build cache entry to be written.
writeTo
Link copied to clipboard
abstract fun writeTo(output: OutputStream)
Writes a build cache entry to the given stream.