Fix trr and add a missing declaratino to dcd
Replace binpos and dcd with typedmemoryview