Quantcast
Channel: ClearScript
Browsing all 2297 articles
Browse latest View live
↧

New Post: Javascript side create byte array

Hi Guys, this is a simple issue but I cannot get it to work. I need to create a byte array on the javascript side but I´m getting the following error depending on the type I use: byte is not a function...

View Article


New Post: Javascript side create byte array

Also tried: var message = new host.newArr(byte, 4096); var message = new host.newArr(System.Byte, 4096); But I get 'Invalid constructor invocation'

View Article


New Post: Javascript side create byte array

Sorry, my mistake.... the correct line was: var message = host.newArr(System.Byte, 4096);

View Article

New Post: Javascript side create byte array

Hello, Yes, that's probably the most generic and straightforward way to do it. And if you'd prefer not to expose HostFunctions or the array element type, you could always provide a custom array factory...

View Article

Released: ClearScript 5.4 (Oct 22, 2014)

5.4.5Breaking Change: Added strongly-typed indexing support for IList<T>. Because IList<T> takes precedence over IList, array and list elements retrieved by index are now correctly...

View Article


Updated Release: ClearScript 5.4 (Oct 22, 2014)

5.4.5Breaking Change: Added strongly-typed indexing support for IList<T>. Because IList<T> takes precedence over IList, array and list elements retrieved by index are now correctly...

View Article

New Post: Javascript side create byte array

Hi again, By the way, if you're using V8 for heavy-duty byte array manipulation in JavaScript, consider using Uint8Array. Doing so should provide an enormous performance advantage over using a managed...

View Article

New Post: Date marshalling

Hi, thanks for the release, I've tested it and it's working fine! I just have a issue with the equality comparison (which use a reference comparison when both operands are of the same type), Would that...

View Article


New Post: Javascript side create byte array

What I´m doing is passing the array as parameter to a c# method that is awaiting for a byte array. Do you think that if I use Uint8Array that can be mapped into a byte array on the c# side?. Thanks.

View Article


New Post: Date marshalling

Hello! Unfortunately valueOf isn't used to prepare values for equality comparison, nor is it possible for the host to overload JavaScript operators. And as you probably know, comparing structs by...

View Article

New Post: Javascript side create byte array

Hi nicoriff, There's no automatic mapping; you'd have to convert the Uint8Array array to System.Byte[] explicitly. Recent ClearScript versions provide a fast API for that. As for which array type to...

View Article

Created Unassigned: ClearScript, C# and Scheduler [103]

Context: Azure, C#, ClearScript.V8.5.4.5I have a number of C# programs running under the scheduler in an Azure VM. All but two are currently working due to an error which identifies itself by a last...

View Article

Commented Unassigned: ClearScript, C# and Scheduler [103]

Context: Azure, C#, ClearScript.V8.5.4.5I have a number of C# programs running under the scheduler in an Azure VM. All but two are currently working due to an error which identifies itself by a last...

View Article


Closed Issue: [FIXED] Can no longer use object method "toString()" in 5.4.4 [98]

Hi,We currently use ClearScript v5.4.2 and wanted to upgrade to v5.4.4, but some of our tests started failing. This is because the method "toString()" no longer binds to the method on the managed...

View Article

Closed Issue: [RESOLVED] Extension methods appearing as keys on irrelevant...

Hello! First of all thank you for this amazing library and your great effort in maintaining it!I am building a runtime on top of ClearScript that supports node-like requiring of scripts and dll's. I...

View Article


Commented Unassigned: ClearScript, C# and Scheduler [103]

Context: Azure, C#, ClearScript.V8.5.4.5I have a number of C# programs running under the scheduler in an Azure VM. All but two are currently working due to an error which identifies itself by a last...

View Article

Commented Unassigned: ClearScript, C# and Scheduler [103]

Context: Azure, C#, ClearScript.V8.5.4.5I have a number of C# programs running under the scheduler in an Azure VM. All but two are currently working due to an error which identifies itself by a last...

View Article


Commented Unassigned: ClearScript, C# and Scheduler [103]

Context: Azure, C#, ClearScript.V8.5.4.5I have a number of C# programs running under the scheduler in an Azure VM. All but two are currently working due to an error which identifies itself by a last...

View Article

New Post: Call JS function with object as parameter

Hi, I need to call a function in my Javascript which takes a Javascript object as parameter. The catch is that the property names of the object are something like "a.b" or "foo.bar" and they are...

View Article

Commented Unassigned: ClearScript, C# and Scheduler [103]

Context: Azure, C#, ClearScript.V8.5.4.5I have a number of C# programs running under the scheduler in an Azure VM. All but two are currently working due to an error which identifies itself by a last...

View Article
Browsing all 2297 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>