public static uavcan_equipment_power_CircuitStatus ByteArrayToDroneCANMsg(byte[] transfer, int startoffset) { var ans = new uavcan_equipment_power_CircuitStatus(); ans.decode(new DroneCAN.CanardRxTransfer(transfer.Skip(startoffset).ToArray())); return(ans); }