public void CHDK_GetMemory(uint addr, int size, out byte[] data) { SendCHDKCommand(CHDK_PTP_Command.PTP_CHDK_GetMemory, out data, 2, (int)addr, size); Ensure_PTP_RC_OK(); }