I tried out a bunch of folding 5.56 pistols in a regular laptop backpack today and was pretty surprised at how easily they fit without a problem.

https://youtu.be/ZPxpsfQqz5A