The FromString method std::string to cnet::Bytes
static Bytes FromString(
std::string value,
bool bigEndian = true
);
value
The value which to convert
bigEndian
Specifies whether the data will be saved in big endianness or small endianness
cnet::Bytes
that contains the value as bytes