code: func newOutputStreamIndexOutput(out io.WriteCloser, bufferSize int) *OutputStreamIndexOutput {
  	ans := &OutputStreamIndexOutput{
  		crc: crc32.NewIEEE(),
  		os:  out,
  	}
  	ans.IndexOutputImpl = NewIndexOutput(ans)
  	return ans
  }
docs: /* Creates a new OutputStreamIndexOutput with the given buffer size. */