Copies the String's characters to the supplied buffer.


myString.getBytes(buf, len)

Parameter Values

  • myString: a variable of type String.
  • buf: the buffer to copy the characters into. Allowed data types: array of byte.
  • len: the size of the buffer. Allowed data types: unsigned int.

Return Values

  • Nothing

See Also

Please note: These are affiliate links. If you buy the components through these links, We may get a commission at no extra cost to you. We appreciate it.