Example of A Wireless Bitmap
The 3x3 bitmap:
becomes
Octet 1: 00000000 (WBMP type)
Octet 2: 00000000 (Fixed header)
Octet 3: 00000011 (Width) = 3
Octet 4: 00000011 (Height) = 3
Octet 5-7: 3 bits for data then Padding (8-3=5)
Octet 5: 010 00000 (Row 1)
Octet 6: 101 00000 (Row 2)
Octet 7: 010 00000 (Row 3)
Read more about this topic: Wireless Application Protocol Bitmap Format