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
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:
@@ -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($_)
|
||||
|
||||
Reference in New Issue
Block a user