On Dec 17, 2012, at 1:45 PM, Jeremy A. Kolb - ARA/NED <jk...@ara.com> wrote:
> I’m trying to replicate DatabaseUtils.getTypeOfObject and am running into 
> trouble telling it the object is a byte[].

I assume you have:

        Java.Lang.Object obj = ...;

If so, the easiest way to check that is:

        if (obj.Class.Name == "[B") {
                byte[] contents = (byte[]) obj;
        }

 - Jon

_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to