On Dec 17, 2012, at 1:45 PM, Jeremy A. Kolb - ARA/NED <[email protected]> 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
[email protected]
UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid