jtenner
jtenner
Another stab at a base64 implementation provided by https://github.com/lemire/fastbase64/blob/master/src/chromiumbase64.c Not sure what the right way to use this software is, but we should probably use their license, and their tests...
Todo: - [x] Implement decodeUnsafe - [ ] Test decodeUnsafe - [ ] Implement encode - [ ] Implement byteLength - [ ] implement stringLength
Let me start by saying I realize how entirely dangerous this is. Currently there's no good ergonomic way to do this, and in order to implement the backbone of the...
Notes: - this function works really nicely with `memory.compare()` - ~Currently, the compiler doesn't like using `static` functions as function parameters (Will open an issue in the AssemblyScript repo)~ ```...
Implements `Buffer.from(value: T)` and a few other convenience functions. There are lots of obvious problems with not having the function overloads, but there are different paths we can take. For...
~Current problems:~ - ~No good logging for that extend `ArrayBufferView` (opened issue with as-pect https://github.com/jtenner/as-pect/issues/132 )~ - ~No good way of comparing things that extend `ArrayBufferView` (opened issue with as-pect...
233 tests pass. Let's see how things work on CI...
```ts let a = [1, 2, 3]; if (isReference(unchecked(a[0]))) ERROR("This should not be possible") ``` This is almost a minimal reproduction. Please feel free to ask me to help reduce...
The cli requires a peer dependency of @assemblyscript/loader. @trusktr do you have any idea how this should be fixed exactly?