Closed
Description
repo.blocks.read('12200007d4e3a319cd8c7c9979280e150fc5dbaae1ce54e790f84ae5fd3c3c1a0475', function (buff, err) {
console.log(err)
})
While this basically works as intended (to print out the data of the block), the variable names are confusing and probably should be switched.
repo.blocks.write(buff, function (buff, err) {
console.log(buff.toString('utf-8'), err)
})
Metadata
Metadata
Assignees
Labels
No labels