Problemas con Librerias Heltec

Good morning, I have problems using the Lora esp32 Heltec V2 module.
I can’t find an appropriate library for the following.
I wish with the Heltec_LoRa_receiver library, 2 bits of usable data to be able to activate a switch case, but I ran into the difficulty of not being able to find the command to decode those 2 bits.
Thank you