Printing the input signal to 5V LED strip light

Hi,
I have a 5V LED light strip connected to an Arduino Uno. It’s controlled using code from the Adafruit NeoPixel library.

I’m interested in printing (in bits) the input data signal the strip receives. If I’m not mistaken, the first LED segment on the strip reads the first 24 bits of the input data signal and passes the rest along to the other LED segments.

The code to do this printing seems a little too challenging for me at the moment. Appreciate any help with the codes. Thanks.