// fill replaces zero values with default values.

fill replaces zero values with default values.
// fill replaces zero values with default values .
func (c *WriterConfig) fill() {
	if c.Properties == nil {
		c.Properties = &lzma.Properties{LC: 3, LP: 0, PB: 2}
	}
	if c.DictCap == 0 {
		c.DictCap = 8 * 1024 * 1024
	}
	if c.BufSize == 0 {
		c.BufSize = 4096
	}
	if c.BlockSize == 0 {
		c.BlockSize = maxInt64
	}
	if c.CheckSum == 0 {
		c.CheckSum = CRC64
	}
}
func ( c * WriterConfig ) fill ( ) { if c . Properties == nil { c . Properties = & lzma . Properties { LC : 3 , LP : 0 , PB : 2 } } if c . DictCap == 0 { c . DictCap = 8 * 1024 * 1024 } if c . BufSize == 0 { c . BufSize = 4096 } if c . BlockSize == 0 { c . BlockSize = maxInt64 } if c . CheckSum == 0 { c . CheckSum = CRC64 } }
fill replaces zero values with default values.
fill replaces zero values with default values .