/// <summary> /// loads array of bytes calling the web api with the correct parameter (uint8/uint16/hex16) /// </summary> /// <param name="dt">parameter to pass to ANU JSON API</param> /// <param name="arrayLength">Length of the array</param> /// <returns></returns> public byte[] getBinary(DataType dt, int arrayLength) { ObjResult obj = getObjResult(dt, arrayLength); return(obj.getBinary()); }