You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hello
i want to convert the example code of RecordActivity in kotlin but i can't translate the java code :
((ByteBuffer)yuvImage.image[0].position(0)).put(data);
to kotlin
i have this information : Classifier 'ByteBuffer' does not have a companion object, and thus must be initialized here
if i use the conversion code i have this result
(yuvImage.image[0].position(0) as ByteBuffer).put(data)
and this error
Cannot access 'org.bytedeco.javacpp.indexer.Indexable' which is a supertype of 'org.bytedeco.javacv.Frame'. Check your module classpath for missing or conflicting dependencies
The text was updated successfully, but these errors were encountered:
hello
i want to convert the example code of RecordActivity in kotlin but i can't translate the java code :
((ByteBuffer)yuvImage.image[0].position(0)).put(data);
to kotlin
i have this information : Classifier 'ByteBuffer' does not have a companion object, and thus must be initialized here
if i use the conversion code i have this result
(yuvImage.image[0].position(0) as ByteBuffer).put(data)
and this error
Cannot access 'org.bytedeco.javacpp.indexer.Indexable' which is a supertype of 'org.bytedeco.javacv.Frame'. Check your module classpath for missing or conflicting dependencies
The text was updated successfully, but these errors were encountered: