docs: function realloc(b, sz) {
  	var L = b.length, M = 2*L > sz ? 2*L : sz + 5, i = 0;
  	if(L >= sz) return b;
  	if(has_buf) {
  		var o = new_unsafe_buf(M);
  		// $FlowIgnore
  		if(b.copy) b.copy(o);
  		else for(; i < b.length; ++i) o[i] = b[i];
  		return o;
  	} else if(use_typed_arrays) {
  		var a = new Uint8Array(M);
  		if(a.set) a.set(b);
  		else for(; i < b.length; ++i) a[i] = b[i];
  		return a;
  	}
  	b.length = M;
  	return b;
  }