Skip to content

Convert BitStream to String #89

Description

@futurumesta

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;
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions