🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

buffer-concat-limit

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

buffer-concat-limit

Helper method to concat 2 buffers with a tail limit

0.0.1
latest
Source
npm
Version published
Weekly downloads
1
-85.71%
Maintainers
1
Weekly downloads
 
Created
Source

buffer-concat-limit

Simple helper method for Node.js to concatinate 2 buffers with a tail limit.

var bufferConcatLimit = require("buffer-concat-limit");

bufferConcatLimit(bufferOne, bufferTwo[, limit])

Concatinates bufferOne with bufferTwo and returns the resulting buffer. If limit is greater than 0, the resulting buffer will be limited to the last limit bytes after concatination.

Note: bufferTwo can also be a string.

Keywords

buffer

FAQs

Package last updated on 16 Apr 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts