func (cdc *Codec) assertNotSealed() {
	cdc.mtx.Lock()
	defer cdc.mtx.Unlock()

	if cdc.sealed {
		panic("codec sealed")
	}
}
func (cdc *Codec) assertNotSealed() {
	cdc.mtx.Lock()
	defer cdc.mtx.Unlock()

	if cdc.sealed {
		panic("codec sealed")
	}
}
func ( cdc * Codec ) assertNotSealed ( ) { cdc . mtx . Lock ( ) defer cdc . mtx . Unlock ( ) if cdc . sealed { panic ( " " ) } }
//----------------------------------------
----------------------------------------