clone-buffer

WebJar for clone-buffer

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

clone-buffer
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

clone-buffer
WebJar for clone-buffer
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/gulpjs/clone-buffer

Download clone-buffer

How to add to project

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

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

clone-buffer

NPM version Downloads Build Status AppVeyor Build Status Coveralls Status Gitter chat

Easier Buffer cloning in node.

Example

var cloneBuffer = require('clone-buffer');

var buffer = new Buffer('test');
var cloned = cloneBuffer(buffer);
// buffer !== cloned

API

cloneBuffer(buffer)

Takes a Buffer object and returns a clone. Throws if a non-Buffer is passed.

License

MIT

org.webjars.npm

gulp

A toolkit to automate & enhance your workflow

Versions

Version
1.0.0