Marshal GBytes from and to a Java byte array #199
No reviewers
Labels
No labels
bug
dependencies
documentation
duplicate
enhancement
github_actions
good first issue
help wanted
invalid
java
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
java-gi/java-gi!199
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "gbytes"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR will replace all
GBytesin the generated Java API withbyte[]. AGBytesis automatically allocated and destroyed before and after method calls.There is one unsupported case in Gio:
TlsCertificate.getDnsNames()which returns a GPtrArray with GBytes elements. This should result in a nested array in Java (byte[][]) but this is not yet implemented. Therefore, this method is currently not available in Java.Fixes #130