BinaryX : X indicates the length in bytes for the binary.

Hi, Forum.

Does anyone know how to define and handle odd bytes long binary data.
For example, Binary5 is 5 bytes long binary data.

I'm in project and in specs, there is this type of data.
Is this a mistake of document writer? I have no idea.

I'd like to hear you guys.
Thanks.

Parents
  • How about:

    unsigned char Binary5[5];   // Binary5 is 5 bytes long binary data
    

    "I'm in project and in specs"

    You're in two places at once? Clever!

    "Is this a mistake of document writer? I have no idea."

    You have the "document" in front of you.
    How do you expect anyone who doesn't even know what "document" you're talking about to have any better idea??!

Reply
  • How about:

    unsigned char Binary5[5];   // Binary5 is 5 bytes long binary data
    

    "I'm in project and in specs"

    You're in two places at once? Clever!

    "Is this a mistake of document writer? I have no idea."

    You have the "document" in front of you.
    How do you expect anyone who doesn't even know what "document" you're talking about to have any better idea??!

Children
More questions in this forum