code: func (out *RAMOutputStream) Reset() {
  	out.currentBuffer = nil
  	out.currentBufferIndex = -1
  	out.bufferPosition = 0
  	out.bufferStart = 0
  	out.bufferLength = 0
  	out.file.SetLength(0)
  	if out.crc != nil {
  		out.crc.Reset()
  	}
  }
docs: /* Resets this to an empty file. */