A snake has won a lengthy battle with a crocodile in northern Queensland state of Australia, wrestling it, constricting it and then finally eating it.