index.js
function unpack(multibuffer) {
  var buffs = []
  var offset = 0
  var length

  while (offset < multibuffer.length) {
    length = vdecode(multibuffer.slice(offset))
    offset += vdecode.bytes
    buffs.push(multibuffer.slice(offset, offset + length))
    offset += length
  }

  return buffs
}
function unpack(multibuffer) {
  var buffs = []
  var offset = 0
  var length

  while (offset < multibuffer.length) {
    length = vdecode(multibuffer.slice(offset))
    offset += vdecode.bytes
    buffs.push(multibuffer.slice(offset, offset + length))
    offset += length
  }

  return buffs
}
function unpack ( multibuffer ) { var buffs = [ ] var offset = 0 var length while ( offset < multibuffer . length ) { length = vdecode ( multibuffer . slice ( offset ) ) offset += vdecode . bytes buffs . push ( multibuffer . slice ( offset , offset + length ) ) offset += length } return buffs }
Split an encoded multibuffer into the original buffers
@param  {Buffer} multibuffer An encoded multibuffer
@return {Array[Buffer]}             The encoded Buffers
Split an encoded multibuffer into the original buffers