Mix.install([
{:req, "~> 0.5.6"},
{:explorer, "~> 0.9.0"},
{:kino_explorer, "~> 0.1.21"},
{:iconv, "~> 1.0"},
{:floki, "~> 0.36.2"}
])
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| unsafe static byte[] DoublesToBytes(double[] value) | |
| { | |
| var bytes = new byte[8*value.Length]; | |
| fixed (byte* b = bytes) | |
| { | |
| for (int i = 0; i < value.Length; i++) | |
| { | |
| var v = value[i]; | |
| *((int*)(b + 8*i)) = *(int*)&v; | |
| *((int*)(b + 8*i+4)) = *(((int*)&v) + 1); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| namespace Downloader | |
| { | |
| using System; | |
| using System.IO; | |
| using System.IO.Compression; | |
| using System.Net.Http.Json; | |
| using System.Text; | |
| using System.Text.Json.Nodes; | |
| using Azure.Core; | |
| using Azure.Identity; // <PackageReference Include="Azure.Identity" Version="1.9.0" /> |