Join Slack
Powered by
How can I alloc an array of Longs using allocArray...
# kotlin-native
z
zt
12/11/2021, 6:07 AM
How can I alloc an array of Longs using allocArrayOf?
d
Dominaezzz
12/11/2021, 9:52 AM
Depending on what you want to use the array for it might be better to pin a
LongArray
instead.
Dominaezzz
12/11/2021, 9:52 AM
To answer your question though,
allocArrayOf<LongVar>
should work.
9
Views
Open in Slack
Previous
Next