src/coins/compress.js
function compressOutput(output, bw) {
  bw.writeVarint(output.value);
  compressScript(output.script, bw);
  return bw;
}
function compressOutput(output, bw) {
  bw.writeVarint(output.value);
  compressScript(output.script, bw);
  return bw;
}
function compressOutput ( output , bw ) { bw . writeVarint ( output . value ) ; compressScript ( output . script , bw ) ; return bw ; }
Compress an output.
@param {Output} output
@param {BufferWriter} bw
Compress an output .