MutableData
Mutable concurrently accessible data buffer. Could be accessed from several workers simultaneously.
Since Kotlin
1.3Properties
Functions
Link copied to clipboard
Appends data to the buffer.
Since Kotlin 1.3
Appends C data to the buffer, if data
is null or count
is non-positive - return.
Since Kotlin 1.3
Appends byte array to the buffer.
Since Kotlin 1.3
Link copied to clipboard
Link copied to clipboard
Executes provided block under lock with raw pointer to the data stored in the buffer. Block is executed under the spinlock, and must be short.
Since Kotlin 1.3