Reference.StringGetBytes History

Hide minor edits - Show changes to output

December 14, 2010, at 07:58 PM by David A. Mellis -
Added line 5:
Changed lines 7-8 from:
Get a pointer to the internal character array used to store the characters in the String. Modifying the returned array will also modify the String itself.
to:
Copies the string's characters to the supplied buffer.
Changed lines 10-11 from:
''string''.getBytes()
to:
''string''.getBytes(buf, len)
Added lines 15-18:
buf: the buffer to copy the characters into (''byte []'')

len: the size of the buffer (''unsigned int'')
Changed lines 20-21 from:
a pointer to the internal character array - ''unsigned char *''
to:
None
August 13, 2010, at 11:48 PM by David A. Mellis -
Changed lines 1-2 from:
[[StringClass | String]]
to:
[[StringObject | String]]
August 08, 2010, at 08:40 PM by David A. Mellis -
Changed lines 6-7 from:
Get a pointer to the internal character array used to store the characters in the String.
to:
Get a pointer to the internal character array used to store the characters in the String. Modifying the returned array will also modify the String itself.
August 08, 2010, at 08:39 PM by David A. Mellis -
August 08, 2010, at 08:39 PM by David A. Mellis -
Added lines 1-23:
[[StringClass | String]]

!!getBytes()

!!!!Description
Get a pointer to the internal character array used to store the characters in the String.

!!!!Syntax
''string''.getBytes()

!!!!Parameters
string: a variable of type String

!!!!Returns
a pointer to the internal character array - ''unsigned char *''

!!!!Example

!!!!See also
* [[StringToCharArray | toCharArray]]()


Share