to-arraybuffer

WebJar for to-arraybuffer

Лицензия

Лицензия

MIT
Группа

Группа

org.webjars.npm
Идентификатор

Идентификатор

to-arraybuffer
Последняя версия

Последняя версия

1.0.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

to-arraybuffer
WebJar for to-arraybuffer
Ссылка на сайт

Ссылка на сайт

http://webjars.org
Система контроля версий

Система контроля версий

https://github.com/jhiesey/to-arraybuffer

Скачать to-arraybuffer

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.webjars.npm/to-arraybuffer/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>to-arraybuffer</artifactId>
    <version>1.0.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/to-arraybuffer/
implementation 'org.webjars.npm:to-arraybuffer:1.0.1'
// https://jarcasting.com/artifacts/org.webjars.npm/to-arraybuffer/
implementation ("org.webjars.npm:to-arraybuffer:1.0.1")
'org.webjars.npm:to-arraybuffer:jar:1.0.1'
<dependency org="org.webjars.npm" name="to-arraybuffer" rev="1.0.1">
  <artifact name="to-arraybuffer" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='to-arraybuffer', version='1.0.1')
)
libraryDependencies += "org.webjars.npm" % "to-arraybuffer" % "1.0.1"
[org.webjars.npm/to-arraybuffer "1.0.1"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

to-arraybuffer Build Status

Sauce Test Status

Convert from a Buffer to an ArrayBuffer as fast as possible.

Note that in some cases the returned ArrayBuffer is backed by the same memory as the original Buffer (but in other cases it is a copy), so modifying the ArrayBuffer is not recommended.

This module is designed to work both in node.js and in all browsers with ArrayBuffer support when using the Buffer implementation provided by Browserify.

Usage

var toArrayBuffer = require('to-arraybuffer')

var buffer = new Buffer(100)
// Fill the buffer with some data

var ab = toArrayBuffer(buffer)
// `ab` now contains the same data as `buffer`

License

MIT

Версии библиотеки

Версия
1.0.1