"I musta done it." <---where does that line come from?

I don’t remember if it’s from a book, a tv show, a movie, or something else.

But there’s some work wherein character A lists all the evidence that indicates that character B is the culprit of some crime (or something), then asks how B would explain the evidence, and B’s response is “I musta done it.” (Maybe it was “I must have done it” but it feels like “musta” in my memory.)

But B didn’t do it.

Ringing any bells?

-FrL-

There was a scene like that in the HBO series True Blood, where Jason is accused of murdering several women.