Jump to content
  • Advertisement
Sign in to follow this  
Machere

How to convert symbol into byte array ??

This topic is 2780 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Advertisement
Easy. Here is some pseudo-code:
b : array of byte
s : symbol
b ::= convertSymbolToByteArray(sym)








For more specialized information, you need to be more specific.

Share this post


Link to post
Share on other sites
actually..i need to add up some symbol in my byte array..
my array consists of colors,,but wat i want o do is..just insteade of coloring i need to insert some symbols like Plus or dot ...

Share this post


Link to post
Share on other sites
Quote:
Original post by Machere
actually..i need to add up some symbol in my byte array..
my array consists of colors,,but wat i want o do is..just insteade of coloring i need to insert some symbols like Plus or dot ...


Okay. Read the articles I linked over.


Then, and only then, read what should be contained in your request-for-help, we are not diviners:

0) What do you want to achieve?
1) What have you tried?
2) Where is the problem?
3) Code.
4) Programming language in use.
5) Your keyboard manufacturer and screen size.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!