cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Grebnov (Akvelon)" <>
Subject RE: ArrayBuffers in WP8 Plugins
Date Wed, 11 Feb 2015 17:08:24 GMT
Another two examples examples: 
List<byte> data = JsonHelper.Deserialize<List<byte>>(args[0]);
byte[] dataToWrite = isBinary ? JSON.JsonHelper.Deserialize<byte[]>(data) :

-----Original Message-----
From: [] On Behalf Of Ian Clelland
Sent: Wednesday, February 11, 2015 6:37 PM
Subject: Re: ArrayBuffers in WP8 Plugins

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);
View raw message