Stay organized with collections
Save and categorize content based on your preferences.
CharArrayBuffer
class CharArrayBuffer
This is used for Cursor.copyStringToBuffer
Summary
Public constructors
CharArrayBuffer
CharArrayBuffer(buf: CharArray!)
CharArrayBuffer
CharArrayBuffer(size: Int)
Properties
sizeCopied
var sizeCopied: Int
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# CharArrayBuffer\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nCharArrayBuffer\n===============\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/database/CharArrayBuffer \"View this page in Java\") \n\n```\nclass CharArrayBuffer\n```\n\n|---|---------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||\n| ↳ | [android.database.CharArrayBuffer](#) |\n\nThis is used for [Cursor.copyStringToBuffer](/reference/kotlin/android/database/Cursor#copyStringToBuffer(kotlin.Int,%20android.database.CharArrayBuffer))\n\nSummary\n-------\n\n| Public constructors ||\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| [CharArrayBuffer](#CharArrayBuffer(kotlin.CharArray))`(`buf:` `[CharArray](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-char-array/index.html)!`)` \u003cbr /\u003e |\n| [CharArrayBuffer](#CharArrayBuffer(kotlin.Int))`(`size:` `[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`)` \u003cbr /\u003e |\n\n| Properties ||\n|------------------------------------------------------------------------------------------|---------------------------------------------|\n| [CharArray](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-char-array/index.html)! | [data](#data:kotlin.CharArray) \u003cbr /\u003e |\n| [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [sizeCopied](#sizeCopied:kotlin.Int) \u003cbr /\u003e |\n\nPublic constructors\n-------------------\n\n### CharArrayBuffer\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nCharArrayBuffer(buf: CharArray!)\n``` \n\n### CharArrayBuffer\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nCharArrayBuffer(size: Int)\n```\n\nProperties\n----------\n\n### data\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nvar data: CharArray!\n``` \n\n### sizeCopied\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nvar sizeCopied: Int\n```"]]