switch to blobs from arraybuffers
Some checks failed
Build and Deploy / build-linux (push) Failing after 1m29s
Build and Deploy / build-macos (push) Failing after 7s
Build and Deploy / build-windows (CLANG64) (push) Has been cancelled
Build and Deploy / package-dist (push) Has been cancelled
Build and Deploy / deploy-itch (push) Has been cancelled
Build and Deploy / deploy-gitea (push) Has been cancelled

This commit is contained in:
2025-05-28 22:33:32 -05:00
parent 53b3f0af9c
commit e86bdf52fe
24 changed files with 287 additions and 433 deletions

View File

@@ -4,6 +4,19 @@ var json = use('json')
var os = use('os')
var draw2d = use('draw2d')
var blob = use('blob')
var myblob = new blob
myblob.write_bit(1)
myblob.write_bit(0)
myblob.__proto__.toString = function() {
return `[${this.length} bit blob]`
}
console.log(myblob.toString())
console.log(myblob)
console.log(myblob.length)
var input = use('input')
input.watch($_)