CharArrayBuffer Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| CharArrayBuffer(Char[]) |
Creates a string-copy buffer initialized from the supplied character data. |
| CharArrayBuffer(Int32) |
Creates a string-copy buffer with the specified initial character capacity. |
CharArrayBuffer(Char[])
Creates a string-copy buffer initialized from the supplied character data.
[Android.Runtime.Register(".ctor", "([C)V", "")]
public CharArrayBuffer(char[]? buf);
[<Android.Runtime.Register(".ctor", "([C)V", "")>]
new Android.Database.CharArrayBuffer : char[] -> Android.Database.CharArrayBuffer
Parameters
- buf
- Char[]
The character array whose contents initialize the buffer. The binding copies this array to a new Java array, so later changes to this array do not change Data.
- Attributes
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
CharArrayBuffer(Int32)
Creates a string-copy buffer with the specified initial character capacity.
[Android.Runtime.Register(".ctor", "(I)V", "")]
public CharArrayBuffer(int size);
[<Android.Runtime.Register(".ctor", "(I)V", "")>]
new Android.Database.CharArrayBuffer : int -> Android.Database.CharArrayBuffer
Parameters
- size
- Int32
The initial buffer capacity, in UTF-16 code units. Must be zero or greater.
- Attributes
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.