overlay(blockCount:)
An overlay layer with a specific block count.
Declaration
static func overlay(blockCount: Int) -> DiskImage.LayerTypeParameters
- blockCount:
The number of blocks for the overlay layer, which changes the effective size of the entire stack.
blockCountmust be greater than zero.
Discussion
Overlay layers store all the changed blocks from the layers beneath it in the stack. This variant resizes the stacked disk image since the size is determined by the top-most layer.