A
A
Anton_repr2019-04-12 00:31:43
C++ / C#
Anton_repr, 2019-04-12 00:31:43

How to concatenate all elements of a string into an array?

There is a string consisting of byte. Now we need to combine all the bytes into an array. How to do it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
Griboks, 2019-04-12
@Anton_repr

Judging by the question, it eats text, but its byte representation is needed. Then
System.Encoding.?.GetBytes(text)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question