Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert BitStream to String #89

Open
futurumesta opened this issue May 10, 2024 · 0 comments
Open

Convert BitStream to String #89

futurumesta opened this issue May 10, 2024 · 0 comments

Comments

@futurumesta
Copy link

Hello!

Is it possible to get all the data from BitStream in the form of HEX (as an example 42A1F5A1AA363F ...) as a string?

public OnIncomingRawPacket(playerid, packetid, BitStream:bs)
{
new some_data[2048];
BS_ReadValue() //????
printf("String hex data: %s", some_data);
return 1;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant