B4R::Object* Jimbo(B4R::Object* o){
// _atype = Type aType(a As Int, b As Int, c As String,d(4) As Byte)
// Dim myData as aType
// myData has its members set ie myData.a = 10 . etc
// called in B4R = RunNative("jimbo",myData)
_atype* tmp = (_atype *)B4R::Object::toPointer(o); // get object
B4R::Array* b = tmp->d; // get the array called d
byte* theBytes = (byte*)b->data; // convert data to bytes
byte u = theBytes[1]; // get 2nd byte
::Serial.println(u,16); // print it :)
}