/
sweetebin
/
hackaton_26
Обзор
Документация
Войти
/
sweetebin
/
hackaton_26
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
hackaton_26
/
...
/
node_modules
/
safe-buffer
/
..
LICENSE
web form project added
15 дней назад
README.md
web form project added
15 дней назад
index.d.ts
web form project added
15 дней назад
index.js
web form project added
15 дней назад
package.json
web form project added
15 дней назад
safe-buffer [![travis][travis-image]][travis-url] [![npm][npm-image]][npm-url] [![downloads][downloads-image]][downloads-url] [![javascript style guide][standard-image]][standard-url]
Safer Node.js Buffer API
install
usage
api
Class Method: Buffer.from(array)
Class Method: Buffer.from(arrayBuffer[, byteOffset[, length]])
Class Method: Buffer.from(buffer)
Class Method: Buffer.from(str[, encoding])
Class Method: Buffer.alloc(size[, fill[, encoding]])
Class Method: Buffer.allocUnsafe(size)
Class Method: Buffer.allocUnsafeSlow(size)
All the Rest
Related links
Why is `Buffer` unsafe?
Remote Memory Disclosure
Would this ever be a problem in real code?
Which real-world packages were vulnerable?
`bittorrent-dht`
`ws`
What's the solution?
A new API: `Buffer.allocUnsafe(number)`
How do we fix node.js core?
What's the real long-term fix?
Update
Conclusion
links
credit
license
README.md