Share via

Convert Java.Lang.Object to Array

Nathan Sokalski 4,111 Reputation points
2022-09-23T20:00:48.963+00:00

I have a Java.Lang.Object which was created from a float[][][][] using Java.Lang.Object.FromArray(xxx). I now need to convert the Java.Lang.Object back to a float[][][][]. I am not very familiar with converting between Java.Lang.Object and .NET. How can I convert back to float[][][][]? Thanks.

Developer technologies | .NET | Xamarin
Developer technologies | C#
Developer technologies | C#

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Karen Payne MVP 35,606 Reputation points Volunteer Moderator
    2022-09-24T11:58:50.233+00:00

    You will need to know what the data type is and use something like the following taken from here. I have not tried this.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.