M
M
madforum2017-04-25 11:47:08
C++ / C#
madforum, 2017-04-25 11:47:08

Are there regular ways to convert text to bytes?

The device sends me 3C characters instead of byte 33.
Is there a regular way to convert 2 characters to 1 byte in c #.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DarkByte2015, 2017-04-26
@DarkByte2015

Encoding.UF8.GetBytes(input)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question