Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0A5E71751C for ; Wed, 11 Feb 2015 15:38:39 +0000 (UTC) Received: (qmail 314 invoked by uid 500); 11 Feb 2015 15:38:38 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 272 invoked by uid 500); 11 Feb 2015 15:38:38 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 257 invoked by uid 99); 11 Feb 2015 15:38:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Feb 2015 15:38:38 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of iclelland@google.com designates 209.85.220.174 as permitted sender) Received: from [209.85.220.174] (HELO mail-vc0-f174.google.com) (209.85.220.174) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Feb 2015 15:38:33 +0000 Received: by mail-vc0-f174.google.com with SMTP id id10so1416712vcb.5 for ; Wed, 11 Feb 2015 07:37:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=3Ve+bhcRrEoEnWzjkjrJbEoAwriTM6OTWATpgOq/rP0=; b=e5Wujj0Ct5HlEFKgv3qM6HIt2woJE7PgK1TQX6YCsWMO06mXII4XpUZxER1LLxKlD9 bThhC0CfQB/bIEBrxMXu5l9NDJj969duDSaOWSfbDWmeJvKnLeKpvXk295nVzTvTvuWU whJ7Dp1e1SyBAmmKt/WmU1p2Rn/4u33jrErpFw1RqNoYox4ur4hfGJ0Um6KZ6ZzZOlRj eTmOkhLFhwWhGgu4p4kUMq3AwA0erU/a7PmBl21nH3iPLGVk9gQnxuyRI1RG94DoH+89 +0qVa8TFbL1dq3+ETmgFzmmmWA4TYr6TNggjpFG2LLL3M0/r3nw0lfpQ8nsUN60eQleR RoxQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=3Ve+bhcRrEoEnWzjkjrJbEoAwriTM6OTWATpgOq/rP0=; b=PTQFXQ1Bo2BwuSRN/JXmEX1aA6zJNdgDX0+6RnpNqAOgf7HIUyHQ5MOO7twNpt1msL T4BiCSEt78BkcpGxX9UasaNag9rEFQHiQO2KYscenJwfLnXdA70AoSM6EEgzOyHMm0qt U4Fvmh428Dgohvnh4HA50d1PKi1ccd1xUb+J8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:content-type; bh=3Ve+bhcRrEoEnWzjkjrJbEoAwriTM6OTWATpgOq/rP0=; b=NdsXWVa+y2OIWG9tZo01owMYJUDac4AFG79Y1iiYlG8Jb00X5whYd5cRFfPIL9Zs5j GpP5QkZaQovuvjayJPtWLhxDw8/XaE//SGpoq04ktfMgQkPnlD9tCqy/mf/mAEY9YB2P FMn8NdovnJjkLsd1YJPLeyGKwUJoeQFV/mJWIUgV54CnFNQw3vMv3JyLsvI/+UX/xeJt ZAhVNF/z3npwxrA85Or8R9E6yAm995rIR9r6kg7dXnQ29D6bIDx9oa2c6sOUFz4FcX2Q efkkEUXyXueTTRedIR4d1ieEoZKBn4MD0Z1saL05RqpQuDJba/DrSruBbF9rz7gAj20O W5QQ== X-Gm-Message-State: ALoCoQkTpV3a8ZM1M9iJSYCWcvdT8cDneGojoUj7PzdRHpN4LfQGTZnum96Sf7AYFChOhs4ACd3v X-Received: by 10.52.13.73 with SMTP id f9mr15804446vdc.7.1423669047897; Wed, 11 Feb 2015 07:37:27 -0800 (PST) MIME-Version: 1.0 Sender: iclelland@google.com Received: by 10.52.116.135 with HTTP; Wed, 11 Feb 2015 07:37:07 -0800 (PST) In-Reply-To: References: From: Ian Clelland Date: Wed, 11 Feb 2015 10:37:07 -0500 X-Google-Sender-Auth: 1YPI4GGPwc6WIbFHQZ5WnOK0F7s Message-ID: Subject: Re: ArrayBuffers in WP8 Plugins To: "dev@cordova.apache.org" Content-Type: multipart/alternative; boundary=20cf3030c3b3e0da5c050ed1c7e0 X-Virus-Checked: Checked by ClamAV on apache.org --20cf3030c3b3e0da5c050ed1c7e0 Content-Type: text/plain; charset=UTF-8 The File plugin should have that -- spec test 104 tests calling FileWriter.write() with an ArrayBuffer as an argument. The write() method in File.cs looks like it uses JSON.JsonHelper.Deserialize to deserialize it, though -- you might have to dig into the bridge to see exactly how and where it gets encoded in the first place. On Tue, Feb 10, 2015 at 8:28 PM, Don Coleman wrote: > Are there any examples of deserializing arraybuffers in WP8 plugins? > > I'm looking for the WP8 equivalent of Android's byte[] data = args. > getArrayBuffer(3); > --20cf3030c3b3e0da5c050ed1c7e0--