def band_bytes
import stelliferous@0.0.2.0/kernel_planning.bend as KernelPlanningimport Base
import stelliferous@0.0.2.0/kernel_window.bend as KernelWindow
77def band_bytes(+band: KernelWindow.Band,+channels: U32,+width: U32) -> Nat:
78 KernelWindow.Band{first,+rows} = band
79 Nat.mul(4n,Nat.max(2n,capacity((channels * rows * width : U32))))