-
```js
function ByteData (data) {
this.mode = Mode.BYTE
if (typeof (data) === 'string') {
this.data = new TextEncoder().encode(data)
} else {
this.data = new Uint8Array(data)
}
…
-
### Feature Description
I need to convert between ArrayBuffer and String. I haven't found an efficient conversion method yet
I have to use encodeURI and decodeURI:
```
function str2buf (str) {
…
-
Hi there,
First of all, **thanks for the wonderful package you have done.**
I'm trying to load a [HuggingFace Model](https://huggingface.co/sentence-transformers/distiluse-base-multilingual-case…
AbrJA updated
10 months ago
-
### Problem Description
One of the `GapEncoder` 's main features is its interpretability. The documentation shows how to plot a heatmap representing activations across topics and their content, but g…
-
By the **sample** (https://github.com/inexorabletash/text-encoding#api-overview) i try to use these module.
But i can't insert your module to run it.
`
const TextEncoder = require('text-encodin…
-
Version: Deno 2.0.5
I need to open a file, lock it, read from it, and then write to it. But no configuration of `Deno.open` lets me read and write to the same `Deno.FsFile` instance.
```ts
cons…
-
Hi, I just installed blockchain-verifier, I'm trying to parse the a block file from my system channel, I'm running
```
$ npx bcverifier -n generic-block -c ./blockfile_000000 -o result.json start…
-
hi
i want to send jettons programmatically using tonweb.
the transaction will be created but call contract will be failed.
this is my function to sen jettons:
async sendToken(toAddress, toke…
-
Using `node v10.24.1 (npm v6.14.12)`
-
Following https://github.com/dcmjs-org/dcmjs/commit/bfd6693e7491b17a2e615393eb5b80af3a78de9b nodejs now crashes with undefined use of [TextEncoder](https://developer.mozilla.org/en-US/docs/Web/API/Tex…